nixos/home/pass/service.nix

20 lines
372 B
Nix
Raw Normal View History

{ ... }:
{
imports = [ ./default.nix ];
services = {
gpg-agent = {
enable = true;
defaultCacheTtl = 7200;
defaultCacheTtlSsh = 7200;
2023-09-07 09:37:05 +01:00
pinentryFlavor = "curses";
extraConfig = ''
no-allow-external-cache
allow-emacs-pinentry
allow-loopback-pinentry
'';
};
password-store-sync.enable = true;
};
}