summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-06-24 09:45:28 +0200
committerAlan Pearce2023-06-24 20:00:27 +0200
commita57beca85210ef2af3ef5e15d176713fdb821791 (patch)
tree30c1916092aff250112c2a5c38a3630a9be5ecc1 /user/settings
parent05367ba280ad0318a7438d08b64b9268e5f97bc1 (diff)
downloadnixfiles-a57beca85210ef2af3ef5e15d176713fdb821791.tar.lz
nixfiles-a57beca85210ef2af3ef5e15d176713fdb821791.tar.zst
nixfiles-a57beca85210ef2af3ef5e15d176713fdb821791.zip
darwin: fix Strongbox SSH agent missing keys (???)
Diffstat (limited to 'user/settings')
-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