diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/darwin.nix | 11 | ||||
-rw-r--r-- | system/settings/programs/base.nix | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix index 460d47bd..323b00d6 100644 --- a/system/settings/darwin.nix +++ b/system/settings/darwin.nix @@ -32,6 +32,17 @@ allowUnfree = true; }; + launchd.user.agents.lorri = lib.mkIf config.services.lorri.enable { + serviceConfig = { + RunAtLoad = lib.mkForce false; + Sockets = { + daemon = { + SockPathName = "${(builtins.getEnv "HOME")}/Library/Caches/com.github.target.lorri.lorri.lorri/daemon.socket"; + }; + }; + }; + }; + environment.launchDaemons = { "limit.maxfiles.plist" = { text = '' diff --git a/system/settings/programs/base.nix b/system/settings/programs/base.nix index 3dcde23e..bfc81312 100644 --- a/system/settings/programs/base.nix +++ b/system/settings/programs/base.nix @@ -1,4 +1,5 @@ { pkgs, ... }: { + services.lorri.enable = true; environment.systemPackages = with pkgs; [ home-manager lzma |