chore: refine yubikey settings

This commit is contained in:
Swarsel 2024-07-11 16:40:50 +02:00
parent 26f8576d6c
commit 183c04212f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
18 changed files with 227 additions and 844 deletions

View file

@ -1158,6 +1158,8 @@ create a new one."
;; yubikey support for pushing commits
;; commiting is enabled through nixos gpg-agent config
(use-package pinentry)
(pinentry-start)
(setq epg-pinentry-mode 'loopback)
(setenv "SSH_AUTH_SOCK" (string-chop-newline (shell-command-to-string "gpgconf --list-dirs agent-ssh-socket")))