nix-config/home/gpg.nix
Bruno BELANYI 13f90dfcfa home: add gpg
Configures both `gpg` and `gpg-agent`
2021-03-03 17:02:49 +00:00

15 lines
223 B
Nix

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