diff options
author | Alan Pearce | 2024-04-29 17:53:31 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-29 17:53:31 +0200 |
commit | 0b95bda2a740a02932a8d196f9642737c14d0ea7 (patch) | |
tree | a4385c743c861e0f4d88fcd2871832fab3fe208b /system/settings | |
parent | 308aeafae2ee7348a79e6320c9ef4fb4ef669260 (diff) | |
download | nixfiles-0b95bda2a740a02932a8d196f9642737c14d0ea7.tar.lz nixfiles-0b95bda2a740a02932a8d196f9642737c14d0ea7.tar.zst nixfiles-0b95bda2a740a02932a8d196f9642737c14d0ea7.zip |
set up lorri
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 |