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 = {
gpg-agent = rec {
gpg-agent =
let
ttl = 86400;
in
{
enable = true;
maxCacheTtl = 86400;
defaultCacheTtl = maxCacheTtl;
defaultCacheTtlSsh = maxCacheTtl;
maxCacheTtl = ttl;
defaultCacheTtl = ttl;
defaultCacheTtlSsh = ttl;
pinentryPackage = lib.mkDefault pkgs.pinentry-all;
extraConfig = ''
no-allow-external-cache
'';
};
git-sync.repositories.password-store = {
path = "${config.home.homeDirectory}/.password-store";