From 66ba74197016d43324f57138ad8642d47f8314d1 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Fri, 5 Apr 2024 01:58:36 +0200 Subject: nix: fix module --- modules/nixos/sils/nix.nix | 5 +++-- 1 file 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"; -- cgit 1.4.1