all repos — nixfiles @ ec92b62d48052d2e4074b194faee86bf7ad18144

System and user configuration, managed by nix and home-manager

set up lorri

Alan Pearce
commit

ec92b62d48052d2e4074b194faee86bf7ad18144

parent

160dacb051bb3529f33e8d388818f63db810b3a1

1 file changed, 5 insertions(+), 0 deletions(-)

changed files
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -32,6 +32,11 @@ nixpkgs.config = {
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;