about summary refs log tree commit diff
path: root/home/profiles/base-darwin/config
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-20 09:54:35 +0900
committersefidel <contact@sefidel.net>2023-07-20 09:54:57 +0900
commite49a0927513033b59d7bf6f9e5a2d545fdcd52d8 (patch)
tree0910f089d18855db74ae9d43948991a9ffee8dfd /home/profiles/base-darwin/config
parent2728393ce6bb3e5f24805ddaf9dd7ce47b49c208 (diff)
downloadnixrc-e49a0927513033b59d7bf6f9e5a2d545fdcd52d8.tar.gz
nixrc-e49a0927513033b59d7bf6f9e5a2d545fdcd52d8.zip
fix(profiles/base-darwin): fix ssh auth using pgp key
Diffstat (limited to 'home/profiles/base-darwin/config')
-rw-r--r--home/profiles/base-darwin/config/zsh.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/profiles/base-darwin/config/zsh.nix b/home/profiles/base-darwin/config/zsh.nix
new file mode 100644
index 0000000..06bc1f7
--- /dev/null
+++ b/home/profiles/base-darwin/config/zsh.nix
@@ -0,0 +1,4 @@
+''
+  export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+  gpgconf --launch gpg-agent
+''