summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/darwin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index 7c0adb0d..699caa40 100644
--- a/user/settings/darwin.nix
+++ b/user/settings/darwin.nix
@@ -142,6 +142,9 @@
   programs.zsh.sessionVariables = {
     SSH_AUTH_SOCK = "~/.strongbox/agent.sock";
   };
+  programs.ssh.extraConfig = ''
+    IdentityAgent ${config.programs.zsh.sessionVariables.SSH_AUTH_SOCK}
+  '';
 
   programs.zsh.envExtra = ''
     SHELL_SESSIONS_DISABLE=1