16 lines
254 B
Nix
16 lines
254 B
Nix
{ ... }:
|
|
{
|
|
programs.gpg = {
|
|
enable = true;
|
|
};
|
|
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
enableSshSupport = true; # One agent to rule them all
|
|
pinentryFlavor = "curses";
|
|
extraConfig = ''
|
|
allow-loopback-pinentry
|
|
'';
|
|
};
|
|
}
|