refactor(treewide)

This commit is contained in:
ooks-io 2024-06-11 22:37:17 +12:00
parent 25d48ac2ac
commit c4fc882042
99 changed files with 634 additions and 477 deletions

5
nixos/roles/default.nix Normal file
View file

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

View file

@ -0,0 +1,24 @@
{ lib, config, ... }:
let
inherit (lib) mkIf;
host = config.ooknet.host;
in
{
config = mkIf (host.type == "desktop" && 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;
};
};
};
}