all repos — nixfiles @ a57beca85210ef2af3ef5e15d176713fdb821791

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

darwin: fix Strongbox SSH agent missing keys (???)
Alan Pearce alan@alanpearce.eu
Sat, 24 Jun 2023 09:45:28 +0200
commit

a57beca85210ef2af3ef5e15d176713fdb821791

parent

05367ba280ad0318a7438d08b64b9268e5f97bc1

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/darwin.nixuser/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