darwin: fix setting of SSH_AUTH_SOCK
1 file changed, 3 insertions(+), 1 deletion(-)
changed files
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -43,6 +43,8 @@ "/bin/launchctl" "setenv" "XDG_CACHE_HOME" config.xdg.cacheHome + "SSH_AUTH_SOCK" + config.home.sessionVariables.SSH_AUTH_SOCK ]; RunAtLoad = true; StandardErrorPath = "/dev/null";@@ -89,7 +91,7 @@ stat = "stat -x"; }; home.sessionVariables = { - SSH_AUTH_SOCK = "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; + SSH_AUTH_SOCK = "${config.home.homeDirectory}/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; }; programs.ssh.extraConfig = '' IdentityAgent ~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh