summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-17 22:39:53 +0100
committersils <sils@sils.li>2023-11-17 22:39:53 +0100
commit3adfdcaa35da973e14ef2cee443fe241eef103b5 (patch)
tree82c654413b37b172ed29049196e370a610a56a8a /users
parentfix(treewide): remove ragenix (diff)
downloadnix-config-3adfdcaa35da973e14ef2cee443fe241eef103b5.tar.gz
nix-config-3adfdcaa35da973e14ef2cee443fe241eef103b5.zip
fix(u/sils/gpg): add cachttl
Diffstat (limited to '')
-rw-r--r--users/sils/gpg/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
index cb976db..8954c7b 100644
--- a/users/sils/gpg/default.nix
+++ b/users/sils/gpg/default.nix
@@ -9,6 +9,8 @@
   };
   services.gpg-agent = {
     enable = true;
+    defaultCacheTtl = 60 * 5;
+    defaultCacheTtlSsh = 60 * 5;
     pinentryFlavor = "gtk2";
     enableSshSupport = true;
     sshKeys = ["4077454831C98FE4BE4A9C167186C5A63615B790"];