diff options
-rw-r--r-- | user/settings/darwin.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index fb6cf196..2ca4ddf6 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -63,6 +63,21 @@ LowPriorityBackgroundIO = true; }; }; + set-xdg-cache-home = { + enable = true; + + config = { + ProgramArguments = [ + "/bin/launchctl" + "setenv" + "XDG_CACHE_HOME" + config.xdg.cacheHome + ]; + RunAtLoad = true; + StandardErrorPath = "/dev/null"; + StandardOutputPath = "/dev/null"; + }; + }; }; programs.zsh.shellAliases = { |