nixos/home/pass/agent.nix

17 lines
298 B
Nix

{ ... }:
{
imports = [ ./default.nix ];
services.gpg-agent = {
enable = true;
defaultCacheTtl = 7200;
defaultCacheTtlSsh = 7200;
pinentryFlavor = "gtk2";
extraConfig = ''
no-allow-external-cache
allow-emacs-pinentry
allow-loopback-pinentry
'';
};
}