feat(ssh): use available SSH agent socket

This commit is contained in:
2026-08-18 05:00:21 +09:00
parent 2bdea522cb
commit 5107b80173
+3
View File
@@ -24,6 +24,9 @@ lib.mkMerge [
};
extraConfig = ''
Match exec "test -n \"$SSH_AUTH_SOCK\" && test -S \"$SSH_AUTH_SOCK\""
IdentityAgent $SSH_AUTH_SOCK
Match exec "test -S %d/.1password/agent.sock"
IdentityAgent %d/.1password/agent.sock
'';