From 0b95bda2a740a02932a8d196f9642737c14d0ea7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Apr 2024 17:53:31 +0200 Subject: set up lorri --- system/settings/darwin.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'system/settings/darwin.nix') 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 = '' -- cgit 1.4.1