summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/roles.nix2
-rw-r--r--modules/nixos/sils/roles.nix17
2 files changed, 18 insertions, 1 deletions
diff --git a/modules/nixos/roles.nix b/modules/nixos/roles.nix
index 71883e0..9640bb3 100644
--- a/modules/nixos/roles.nix
+++ b/modules/nixos/roles.nix
@@ -1,6 +1,6 @@
 {lib, ...}: {
   options.role.sils = lib.mkOption {
-    type = lib.types.nullOr (lib.types.enum ["laptop" "undefined" "vm"]);
+    type = lib.types.nullOr (lib.types.enum ["laptop" "undefined" "vm" "workstation"]);
     default = null;
     description = "The role which should be applied to your configuration.";
   };
diff --git a/modules/nixos/sils/roles.nix b/modules/nixos/sils/roles.nix
index a39af33..1ee88dd 100644
--- a/modules/nixos/sils/roles.nix
+++ b/modules/nixos/sils/roles.nix
@@ -24,5 +24,22 @@ in {
     }
     else if roleCmp "vm"
     then {}
+    else if roleCmp "workstation"
+    then {
+      apparmor.enable = lib.mkDefault true;
+      basesystem.enable = lib.mkDefault true;
+      disks.enable = lib.mkDefault true;
+      bluetooth.enable = lib.mkDefault true;
+      environment.enable = lib.mkDefault true;
+      firejail.enable = false;
+      font.enable = lib.mkDefault true;
+      hyprland.enable = lib.mkDefault true;
+      impermanence.enable = lib.mkDefault true;
+      networking.enable = lib.mkDefault true;
+      nix-config.enable = lib.mkDefault true;
+      plymouth.enable = lib.mkDefault false;
+      sway.enable = lib.mkDefault false;
+      theming.enable = lib.mkDefault true;
+    }
     else {};
 }