all repos — nixfiles @ 6c4d43dcefdced79a3aa666833fea6dfcd5a6e2e

System and user configuration, managed by nix and home-manager

darwin: fix setting of SSH_AUTH_SOCK

Alan Pearce
commit

6c4d43dcefdced79a3aa666833fea6dfcd5a6e2e

parent

7f388237db8074fc882baaeaaa7489cb434fe891

1 file changed, 3 insertions(+), 1 deletion(-)

changed files
M user/settings/darwin.nixuser/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