summaryrefslogtreecommitdiff
path: root/linux.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-01-24 10:59:51 -0800
committerBen Sima <ben@bsima.me>2019-01-25 15:11:10 -0800
commit7c1dafc4711a2c2274ee8fad82d2bc9e00487b4d (patch)
tree5deeefed1ffb66ef6d8052a1fefaa7e46f7c6d58 /linux.nix
parent6df74443f1aa37ae2609093db8e608663ef7bc9e (diff)
Bump gpg agent cache timeout to 20hrs
Diffstat (limited to 'linux.nix')
-rw-r--r--linux.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux.nix b/linux.nix
index 6be6209..e3ce026 100644
--- a/linux.nix
+++ b/linux.nix
@@ -89,10 +89,11 @@ in
gpg-agent = {
enable = true;
- defaultCacheTtl = 600;
+ defaultCacheTtl = 72000;
enableSshSupport = true;
extraConfig = ''
allow-emacs-pinentry
+ maximum-cache-ttl 72000
pinentry-program /home/ben/.nix-profile/bin/pinentry-tty
'';
};