summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-05 01:58:36 +0200
committerSilas Schöffel <sils@sils.li>2024-04-05 01:58:36 +0200
commit66ba74197016d43324f57138ad8642d47f8314d1 (patch)
treef4e070dbee0674e08ba1341fc46b76185d58eb4a
parentnix: init module (diff)
downloadnix-config-66ba74197016d43324f57138ad8642d47f8314d1.tar.gz
nix-config-66ba74197016d43324f57138ad8642d47f8314d1.zip
nix: fix module
Diffstat (limited to '')
-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";