diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/darwin.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix index aa55cce5..b6a4fac7 100644 --- a/system/settings/darwin.nix +++ b/system/settings/darwin.nix @@ -32,6 +32,11 @@ allowUnfree = true; }; + # needed so that nix-darwin can activate the system as root + security.sudo.extraConfig = '' + Defaults env_keep += "NIX_PATH" + ''; + launchd.user.agents.lorri = lib.mkIf config.services.lorri.enable { serviceConfig = { RunAtLoad = lib.mkForce false; |