nixos/home/pass/service.nix
Evie Litherland-Smith 5a7cbee56d Move pass/agent.nix to pass/service.nix
Add password-store-sync service
Fix passwors store directory setting by using nix variables
2023-09-05 17:44:23 +01:00

20 lines
370 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
'';
};
password-store-sync.enable = true;
};
}