darwin: move SSH_AUTH_SOCK to home variable
Alan Pearce alan@alanpearce.eu
Sun, 06 Aug 2023 20:12:36 +0200
1 files changed, 3 insertions(+), 3 deletions(-)
jump to
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -82,7 +82,7 @@ "setenv" "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 = ''