feat(nixos:roles): add laptop-workstation

This commit is contained in:
ooks-io 2024-06-12 22:33:11 +12:00
parent dd6271f7d6
commit eeb9a118e6
2 changed files with 25 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./desktop-workstation.nix
./laptop-workstation.nix
];
}

View file

@ -0,0 +1,24 @@
{ lib, config, ... }:
let
inherit (lib) mkIf;
host = config.ooknet.host;
in
{
config = mkIf (host.type == "laptop" && host.role == "workstation") {
ooknet = {
services = {
gnomeServices.enable = true;
gvfs.enable = true;
dbus.enable = true;
system76Scheduler.enable = true;
};
programs = {
_1password.enable = true;
dconf.enable = true;
kdeconnect.enable = true;
};
};
};
}