summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-04-20 08:37:59 -0400
committerBen Sima <ben@bsima.me>2021-04-20 08:37:59 -0400
commit47974d5c2a1e92e925c3307685f6776d69d0e23e (patch)
tree37d20c869b7742da00ca189b1b23c6951359dd76
parent7ac41f07eeaf327ee15bfb984dc784db411ad532 (diff)
bump gpg timeouts
This is about as long as I spend away from my computer. Over these amounts and I'm probably away for a long time (vacation) so definitely timeout in those cases.
-rw-r--r--linux.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux.nix b/linux.nix
index d86135e..8e05788 100644
--- a/linux.nix
+++ b/linux.nix
@@ -357,8 +357,8 @@ in
gpg-agent = {
enable = true;
enableScDaemon = true; # smart card support
- defaultCacheTtl = 1800; # 30 minutes
- maxCacheTtl = 7200; # 2 hours
+ defaultCacheTtl = 7200; # 2 hours
+ maxCacheTtl = 86400; # 24 hours
enableSshSupport = false;
enableExtraSocket = true;
verbose = true;