about summary refs log tree commit diff stats
path: root/nix-conf/home/includes
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-08 12:03:33 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-08 12:04:44 +0000
commit2e0a1f333cd40aba24c0ee7869691f6814a3d781 (patch)
tree783da6016ad839389874cc0f5425c6424bd941fb /nix-conf/home/includes
parent9ebf39a6a66a47a7f64d6244eeb3e8321e09a3d9 (diff)
downloaddotfiles-2e0a1f333cd40aba24c0ee7869691f6814a3d781.tar.gz
Set max gpg-agent timeouts
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r--nix-conf/home/includes/linux-server.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix-conf/home/includes/linux-server.nix b/nix-conf/home/includes/linux-server.nix
index 8f8fcbb..6ad82fb 100644
--- a/nix-conf/home/includes/linux-server.nix
+++ b/nix-conf/home/includes/linux-server.nix
@@ -15,6 +15,8 @@
   services.gpg-agent = {
     enable = true;
     pinentryFlavor = "curses";
+    defaultCacheTtl = 34560000;
+    maxCacheTtl = 34560000;
   };
 
   ## TODO newSession plugins etc