set up lorri
Alan Pearce alan@alanpearce.eu
Mon, 29 Apr 2024 17:53:31 +0200
3 files changed, 15 insertions(+), 0 deletions(-)
A shell.nix
@@ -0,0 +1,3 @@+{ system ? builtins.currentSystem }: + +(builtins.getFlake (toString ./.)).devShell.${system}
M system/settings/darwin.nix → system/settings/darwin.nix
@@ -32,6 +32,17 @@ nixpkgs.config = { 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 = ''
M system/settings/programs/base.nix → system/settings/programs/base.nix
@@ -1,4 +1,5 @@ { pkgs, ... }: { + services.lorri.enable = true; environment.systemPackages = with pkgs; [ home-manager lzma