diff options
author | Alan Pearce | 2024-04-29 14:48:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-18 12:17:12 +0200 |
commit | ec92b62d48052d2e4074b194faee86bf7ad18144 (patch) | |
tree | 5c14725810d3ac531d13da9ae18f0df8ba43a485 /system | |
parent | 160dacb051bb3529f33e8d388818f63db810b3a1 (diff) | |
download | nixfiles-ec92b62d48052d2e4074b194faee86bf7ad18144.tar.lz nixfiles-ec92b62d48052d2e4074b194faee86bf7ad18144.tar.zst nixfiles-ec92b62d48052d2e4074b194faee86bf7ad18144.zip |
set up lorri
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; |