2021-02-21 19:43:33 +01:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
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";
|
2021-02-21 19:43:33 +01:00
|
|
|
extraConfig = ''
|
|
|
|
allow-loopback-pinentry
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|