summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/sils/nix.nix1
-rw-r--r--modules/nixos/sils/roles.nix1
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;
     }