summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/sils/nix.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/nixos/sils/nix.nix b/modules/nixos/sils/nix.nix
index dc50470..6898fa9 100644
--- a/modules/nixos/sils/nix.nix
+++ b/modules/nixos/sils/nix.nix
@@ -8,7 +8,7 @@
   cfg = config.sils.nix;
 in {
   options.sils.nix = {
-    remoteBuild = lib.mkEnableOption;
+    remoteBuild = lib.mkEnableOption "remote builds";
   };
   config = {
     nix = {
@@ -46,7 +46,8 @@ in {
         ];
       };
     };
-    home-manager.users.root.home = lib.mkIf cfg.remoteBuild {
+    home-manager.users.root.home = {
+      #lib.mkIf cfg.remoteBuild { TODO Why does this fail?
       username = "root";
       homeDirectory = "/root";
       stateVersion = "23.05";