aboutsummaryrefslogtreecommitdiff
path: root/tw/home.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-04-23 00:20:05 +0200
committerTimo Wilken2023-04-23 00:20:05 +0200
commit4a088926ac1b31647682a678777126a603091791 (patch)
treed07928254fdeddd9aca8a7bceed081894f70296e /tw/home.scm
parent422cc04b0934bd3b1932aaa25f66e5aba48b799b (diff)
Move gpg-agent config changes to the right place
Also, delete leftover unused file.
Diffstat (limited to 'tw/home.scm')
-rw-r--r--tw/home.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tw/home.scm b/tw/home.scm
index 2dd6925f..2fdae8f9 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -58,6 +58,11 @@
pinentry-program " (if gui-pinentry?
(file-append pinentry-rofi "/bin/pinentry-rofi")
(file-append pinentry-tty "/bin/pinentry-tty")) "
+# Keep passphrase cached for longer, so that mcron jobs (e.g. restic,
+# vdirsyncer) can access the password store. Vdirsyncer should run every half
+# hour to extend the default-cache-ttl.
+default-cache-ttl 2100 # 35 min
+max-cache-ttl 43200 # 12 h
# Needed if spawning lots of parallel gpg --decrypt processes. https://dev.gnupg.org/T3530
auto-expand-secmem
"))))