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