From dc666f24e73989a811d11b42685ad6d4bd54f18c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 18 Jan 2021 22:15:27 +0100 Subject: darwin: install and use sekey --- user/settings/darwin.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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"; } -- cgit 1.4.1