diff options
author | Alan Pearce | 2023-08-06 20:12:36 +0200 |
---|---|---|
committer | Alan Pearce | 2023-08-06 20:13:34 +0200 |
commit | 3f3ec69481c0fb86a10ca6c3e19da1a39037087a (patch) | |
tree | 820fc596b3998653c3e2684d7fd2121854cb7a33 /user | |
parent | fddeac4ce379b2606520bacf95a5c9b5241c1c55 (diff) | |
download | nixfiles-3f3ec69481c0fb86a10ca6c3e19da1a39037087a.tar.lz nixfiles-3f3ec69481c0fb86a10ca6c3e19da1a39037087a.tar.zst nixfiles-3f3ec69481c0fb86a10ca6c3e19da1a39037087a.zip |
darwin: move SSH_AUTH_SOCK to home variable
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/darwin.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 9981a714..f0dab808 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -82,7 +82,7 @@ "XDG_CACHE_HOME" config.xdg.cacheHome "SSH_AUTH_SOCK" - config.programs.zsh.sessionVariables.SSH_AUTH_SOCK + config.home.sessionVariables.SSH_AUTH_SOCK ]; RunAtLoad = true; StandardErrorPath = "/dev/null"; @@ -146,11 +146,11 @@ stat = "stat -x"; }; - programs.zsh.sessionVariables = { + home.sessionVariables = { SSH_AUTH_SOCK = "~/.strongbox/agent.sock"; }; programs.ssh.extraConfig = '' - IdentityAgent ${config.programs.zsh.sessionVariables.SSH_AUTH_SOCK} + IdentityAgent ${config.home.sessionVariables.SSH_AUTH_SOCK} ''; programs.zsh.envExtra = '' |