all repos — nixfiles @ dc666f24e73989a811d11b42685ad6d4bd54f18c

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

darwin: install and use sekey
Alan Pearce alan@alanpearce.eu
Mon, 18 Jan 2021 22:15:27 +0100
commit

dc666f24e73989a811d11b42685ad6d4bd54f18c

parent

3c9fdec17af0aca598d6de092b9bf24518e18978

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

jump to
M user/settings/darwin.nixuser/settings/darwin.nix
@@ -51,8 +51,14 @@ drill = "dig";   };
 
   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";
 }