about summary refs log tree commit diff
path: root/home/profiles/base/config
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/base/config')
-rw-r--r--home/profiles/base/config/zsh-darwin-gpg-ssh.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/profiles/base/config/zsh-darwin-gpg-ssh.nix b/home/profiles/base/config/zsh-darwin-gpg-ssh.nix
new file mode 100644
index 0000000..06bc1f7
--- /dev/null
+++ b/home/profiles/base/config/zsh-darwin-gpg-ssh.nix
@@ -0,0 +1,4 @@
+''
+  export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+  gpgconf --launch gpg-agent
+''