diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-20 19:13:28 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-20 19:13:28 +0200 |
commit | d17783338b094d841ffe50300c1a0d2ef3880e58 (patch) | |
tree | d5957ae8d09fb27c3d3f3b031c469eff92842574 /modules | |
parent | sys/users: remove autoLogin (diff) | |
download | nix-config-d17783338b094d841ffe50300c1a0d2ef3880e58.tar.gz nix-config-d17783338b094d841ffe50300c1a0d2ef3880e58.zip |
sils: make nix-config toggleable
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nixos/sils/nix.nix | 1 | ||||
-rw-r--r-- | modules/nixos/sils/roles.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixos/sils/nix.nix b/modules/nixos/sils/nix.nix index 6898fa9..2bc792b 100644 --- a/modules/nixos/sils/nix.nix +++ b/modules/nixos/sils/nix.nix @@ -8,6 +8,7 @@ cfg = config.sils.nix; in { options.sils.nix = { + enable = lib.mkEnableOption "nix config"; remoteBuild = lib.mkEnableOption "remote builds"; }; config = { diff --git a/modules/nixos/sils/roles.nix b/modules/nixos/sils/roles.nix index 07cd22f..9e8cf3d 100644 --- a/modules/nixos/sils/roles.nix +++ b/modules/nixos/sils/roles.nix @@ -5,6 +5,7 @@ in { if roleCmp "laptop" then { basesystem.enable = true; + nix.enable = true; plymouth.enable = true; theming.enable = true; } |