diff options
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/sils/roles.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/nixos/sils/roles.nix b/modules/nixos/sils/roles.nix new file mode 100644 index 0000000..07cd22f --- /dev/null +++ b/modules/nixos/sils/roles.nix @@ -0,0 +1,14 @@ +{config, ...}: let + roleCmp = string: config.role.sils == string; +in { + config.sils = + if roleCmp "laptop" + then { + basesystem.enable = true; + plymouth.enable = true; + theming.enable = true; + } + else if roleCmp "vm" + then {} + else {}; +} |