all repos — nixfiles @ 9af2a5f031b6a674d6c9670f1c1a32126e152fcc

System and user configuration, managed by nix and home-manager

Revert "remove lorri" This reverts commit a6e18b5841fee0472ce2275aa06c842d1ca8c233.

Alan Pearce
commit

9af2a5f031b6a674d6c9670f1c1a32126e152fcc

parent

d3cbb0ada99c2dce5a27133092a055da78d61e98

M .envrc.envrc
@@ -1,3 +1,8 @@
watch_file npins/sources.json -use nix +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi PATH_add bin
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -25,6 +25,18 @@ nixpkgs.config = {
allowUnfree = true; }; + services.lorri.enable = true; + launchd.user.agents.lorri = { + 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 user/settings/development/base.nixuser/settings/development/base.nix
@@ -142,4 +142,7 @@ )}"
} ''; }; + services.lorri = { + enable = pkgs.stdenv.isLinux; + }; }
M user/settings/shell.nixuser/settings/shell.nix
@@ -125,6 +125,9 @@ jb = "just build";
jt = "just test"; jr = "just run"; + lw = "lorri watch"; + lwo = "lorri watch --once"; + nsh = "nix-shell"; nb = "nix-build"; nd = "nix develop";
M user/settings/user-interface.nixuser/settings/user-interface.nix
@@ -39,5 +39,6 @@ beeper
kdePackages.neochat kdePackages.kleopatra ]); + services.lorri.enableNotifications = true; services.emacs.startWithUserSession = "graphical"; }