nix-config/home/gpg.nix
Bruno BELANYI 0830f8e4bc
All checks were successful
continuous-integration/drone/push Build is passing
home: gpg: switch to 'tty' pinentry
2021-03-03 17:02:49 +00:00

16 lines
251 B
Nix

{ ... }:
{
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true; # One agent to rule them all
pinentryFlavor = "tty";
extraConfig = ''
allow-loopback-pinentry
'';
};
}