summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/darwin.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index 7d20099b..4f7c8870 100644
--- a/user/settings/darwin.nix
+++ b/user/settings/darwin.nix
@@ -51,8 +51,14 @@
   };
 
   programs.zsh.envExtra = ''
+    path+=/Applications/SeKey.app/Contents/MacOS
+    export SSH_AUTH_SOCK=$HOME/.sekey/ssh-agent.ssh
     SHELL_SESSIONS_DISABLE=1
   '';
+  programs.ssh.extraConfig = ''
+    IdentityAgent ~/.sekey/ssh-agent.ssh
+  '';
+
   # Use GPG from  GPGTools
   programs.git.signing.gpgPath = "/usr/local/bin/gpg";
 }