Add ssh support to gnupg

This commit is contained in:
Henrik Lissner 2020-04-24 14:21:57 -04:00
parent 91c91e2c1f
commit 533652e383
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,6 +19,7 @@ in {
# is cleaner than overriding the systemd unit. # is cleaner than overriding the systemd unit.
home.xdg.configFile."gnupg/gpg-agent.conf" = { home.xdg.configFile."gnupg/gpg-agent.conf" = {
text = '' text = ''
enable-ssh-support
allow-emacs-pinentry allow-emacs-pinentry
default-cache-ttl ${toString gnupgCfg.cacheTTL} default-cache-ttl ${toString gnupgCfg.cacheTTL}
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry