nix-config/home/gpg.nix

16 lines
251 B
Nix
Raw Normal View History

{ ... }:
{
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true; # One agent to rule them all
2021-02-25 16:30:04 +01:00
pinentryFlavor = "tty";
extraConfig = ''
allow-loopback-pinentry
'';
};
}