Configure pam-gnupg

Automatically unlock my GPG key on login to make it easier to work with
pass, neomutt, etc.

See https://github.com/cruegge/pam-gnupg.
This commit is contained in:
Oliver Davies 2025-04-22 00:31:56 +01:00
parent 5b224bbe42
commit 14583971ed
5 changed files with 33 additions and 6 deletions

View file

@ -2,4 +2,9 @@ systemctl --user import-environment DISPLAY
poweralertd -s &
setbg &
systemctl --user start dwm-status &
export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpg-connect-agent updatestartuptty /bye
exec dwm