summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-20 19:14:13 +0200
committerSilas Schöffel <sils@sils.li>2024-04-20 19:14:13 +0200
commit8b56d5d0c3fb196a1b4f31c4361d56c69bbd7a59 (patch)
tree664d90dbab03c602eee345b55f32884de26c1839 /modules
parentsils: make nix-config toggleable (diff)
downloadnix-config-8b56d5d0c3fb196a1b4f31c4361d56c69bbd7a59.tar.gz
nix-config-8b56d5d0c3fb196a1b4f31c4361d56c69bbd7a59.zip
sils: rename nix namespace to nix-config
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/sils/nix.nix4
-rw-r--r--modules/nixos/sils/roles.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/nixos/sils/nix.nix b/modules/nixos/sils/nix.nix
index 2bc792b..b5d46ba 100644
--- a/modules/nixos/sils/nix.nix
+++ b/modules/nixos/sils/nix.nix
@@ -5,9 +5,9 @@
   lib,
   ...
 }: let
-  cfg = config.sils.nix;
+  cfg = config.sils.nix-config;
 in {
-  options.sils.nix = {
+  options.sils.nix-config = {
     enable = lib.mkEnableOption "nix config";
     remoteBuild = lib.mkEnableOption "remote builds";
   };
diff --git a/modules/nixos/sils/roles.nix b/modules/nixos/sils/roles.nix
index 9e8cf3d..73edf85 100644
--- a/modules/nixos/sils/roles.nix
+++ b/modules/nixos/sils/roles.nix
@@ -5,7 +5,7 @@ in {
     if roleCmp "laptop"
     then {
       basesystem.enable = true;
-      nix.enable = true;
+      nix-config.enable = true;
       plymouth.enable = true;
       theming.enable = true;
     }