From 7c1dafc4711a2c2274ee8fad82d2bc9e00487b4d Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 24 Jan 2019 10:59:51 -0800 Subject: Bump gpg agent cache timeout to 20hrs --- linux.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux.nix') 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 ''; }; -- cgit v1.2.3