From 4a088926ac1b31647682a678777126a603091791 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sun, 23 Apr 2023 00:20:05 +0200 Subject: Move gpg-agent config changes to the right place Also, delete leftover unused file. --- tw/home.scm | 5 +++++ tw/home/files/gpg-agent.conf | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 tw/home/files/gpg-agent.conf 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 ")))) diff --git a/tw/home/files/gpg-agent.conf b/tw/home/files/gpg-agent.conf deleted file mode 100644 index 80553267..00000000 --- a/tw/home/files/gpg-agent.conf +++ /dev/null @@ -1,9 +0,0 @@ -pinentry-program pinentry-rofi -# 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 -- cgit v1.2.3