From ec92b62d48052d2e4074b194faee86bf7ad18144 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Apr 2024 14:48:08 +0200 Subject: set up lorri --- system/settings/darwin.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'system') 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; -- cgit 1.4.1