Files
nixos-config/user/programs/terminal/files/shell/rc.d/10-gpg-agent.sh
Morten Olsen 33f79566b7 update
2023-09-16 12:33:21 +02:00

6 lines
165 B
Bash

export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null