Add gpg-agent config

This commit is contained in:
Evie Litherland-Smith 2023-08-30 17:13:10 +01:00
parent bd92b05e42
commit 069f929735

View file

@ -9,5 +9,15 @@
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
};
};
services.gpg-agent.enable = true;
services.gpg-agent = {
enable = true;
defaultCacheTtl = 7200;
defaultCacheTtlSsh = 7200;
pinentryFlavor = "gtk2";
extraConfig = ''
no-allow-external-cache
allow-emacs-pinentry
allow-loopback-pinentry
'';
};
}