diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-05 01:58:36 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-05 01:58:36 +0200 |
commit | 66ba74197016d43324f57138ad8642d47f8314d1 (patch) | |
tree | f4e070dbee0674e08ba1341fc46b76185d58eb4a /modules/nixos | |
parent | nix: init module (diff) | |
download | nix-config-66ba74197016d43324f57138ad8642d47f8314d1.tar.gz nix-config-66ba74197016d43324f57138ad8642d47f8314d1.zip |
nix: fix module
Diffstat (limited to 'modules/nixos')
-rw-r--r-- | modules/nixos/sils/nix.nix | 5 |
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"; |