Remove no-allow-external-cache config from gpg-agent

This commit is contained in:
Evie Litherland-Smith 2024-09-29 17:05:30 +01:00
parent a6a900cfab
commit bb2c14b964

View file

@ -23,15 +23,16 @@
}; };
}; };
services = { services = {
gpg-agent = rec { gpg-agent =
let
ttl = 86400;
in
{
enable = true; enable = true;
maxCacheTtl = 86400; maxCacheTtl = ttl;
defaultCacheTtl = maxCacheTtl; defaultCacheTtl = ttl;
defaultCacheTtlSsh = maxCacheTtl; defaultCacheTtlSsh = ttl;
pinentryPackage = lib.mkDefault pkgs.pinentry-all; pinentryPackage = lib.mkDefault pkgs.pinentry-all;
extraConfig = ''
no-allow-external-cache
'';
}; };
git-sync.repositories.password-store = { git-sync.repositories.password-store = {
path = "${config.home.homeDirectory}/.password-store"; path = "${config.home.homeDirectory}/.password-store";