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,16 +23,17 @@
}; };
}; };
services = { services = {
gpg-agent = rec { gpg-agent =
enable = true; let
maxCacheTtl = 86400; ttl = 86400;
defaultCacheTtl = maxCacheTtl; in
defaultCacheTtlSsh = maxCacheTtl; {
pinentryPackage = lib.mkDefault pkgs.pinentry-all; enable = true;
extraConfig = '' maxCacheTtl = ttl;
no-allow-external-cache defaultCacheTtl = ttl;
''; defaultCacheTtlSsh = ttl;
}; pinentryPackage = lib.mkDefault pkgs.pinentry-all;
};
git-sync.repositories.password-store = { git-sync.repositories.password-store = {
path = "${config.home.homeDirectory}/.password-store"; path = "${config.home.homeDirectory}/.password-store";
uri = "git+https://git.xenia.me.uk/xenia/pass.git"; uri = "git+https://git.xenia.me.uk/xenia/pass.git";