gpg cache (working?)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-27 12:44:47 +02:00
parent a0911caacf
commit 086f52da79

View File

@@ -9,7 +9,10 @@
]); ]);
# services.pcscd.enable = true; # services.pcscd.enable = true;
services.gpg-agent = { services.gpg-agent =
let
min2sec = min: (min * 60);
in {
enable = true; enable = true;
verbose = true; verbose = true;
sshKeys = [ sshKeys = [
@@ -17,6 +20,8 @@
]; ];
enableSshSupport = true; enableSshSupport = true;
enableFishIntegration = true; enableFishIntegration = true;
defaultCacheTtlSsh = min2sec 60;
defaultCacheTtl = min2sec 30;
# pinentryPackage = pkgs.pinentry-gtk2; # pinentryPackage = pkgs.pinentry-gtk2;
}; };