config/homes/laptop/ssh.nix
2024-09-29 16:42:01 +01:00

11 lines
294 B
Nix

{
programs.ssh.extraConfig = ''
Host *
IdentityAgent /Users/maddie/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
'';
home.sessionVariables = {
SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
};
}