about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-13T12·21+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-13T12·21+0000
commitc2522a1b7afa452ca95ea754adcdad7ef524fc14 (patch)
treeb45ec46392a30a70a982bd1ad2695894d311aa21
parent4509fb5e50ec71749c7d1df7cca20652b689e820 (diff)
Extend default-cache-ttl and max-cache-ttl for gpg-agent
Preferring eight hours for each of these values.
-rw-r--r--configs/.config/nixpkgs/home.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/.config/nixpkgs/home.nix b/configs/.config/nixpkgs/home.nix
index 1a4d53bd4240..51e857b823b5 100644
--- a/configs/.config/nixpkgs/home.nix
+++ b/configs/.config/nixpkgs/home.nix
@@ -149,7 +149,7 @@
 
   services.gpg-agent = {
     enable = true;
-    defaultCacheTtl = 7200;
-    maxCacheTtl = 7200;
+    defaultCacheTtl = 8 * 60 * 60; # 8 hours
+    maxCacheTtl = 8 * 60 * 60;
   };
 }