nix-config/home/gpg.nix

16 lines
254 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-21 19:53:14 +01:00
pinentryFlavor = "curses";
extraConfig = ''
allow-loopback-pinentry
'';
};
}