aboutsummaryrefslogtreecommitdiff
path: root/modules/apps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps')
-rw-r--r--modules/apps/gnupg/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/apps/gnupg/default.nix b/modules/apps/gnupg/default.nix
index 7330b2a..7749990 100644
--- a/modules/apps/gnupg/default.nix
+++ b/modules/apps/gnupg/default.nix
@@ -42,11 +42,13 @@ let
yes
CONF
- # XXX forking:
+ # XXX forking.
+ # XXX is 30 years enough?
${cfg.package}/bin/gpg-agent \
--homedir '${cfg.home}' \
--allow-preset-passphrase \
--batch \
+ --max-cache-ttl 999999999 \
--quiet \
--daemon