diff options
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/darwin.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 1ffac101..7c0adb0d 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -72,7 +72,7 @@ LowPriorityBackgroundIO = true; }; }; - set-xdg-cache-home = { + setenv = { enable = true; config = { @@ -81,6 +81,8 @@ "setenv" "XDG_CACHE_HOME" config.xdg.cacheHome + "SSH_AUTH_SOCK" + config.programs.zsh.sessionVariables.SSH_AUTH_SOCK ]; RunAtLoad = true; StandardErrorPath = "/dev/null"; @@ -137,13 +139,14 @@ dig = "dig +noall +answer"; }; + programs.zsh.sessionVariables = { + SSH_AUTH_SOCK = "~/.strongbox/agent.sock"; + }; + programs.zsh.envExtra = '' SHELL_SESSIONS_DISABLE=1 path+=($HOME/Library/Python/3.9/bin) ''; - programs.ssh.extraConfig = '' - IdentityAgent ~/.strongbox/agent.sock - ''; home.activation.linkStrongboxSSHAgentSocket = lib.hm.dag.entryAfter [ "writeBoundary" ] '' if [[ ! -d ~/.strongbox ]] then |