From 1e6e97836c5281b18929e43877025ff78b689e76 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 25 Mar 2021 15:45:41 +0100 Subject: modules/programs/gnupg: allow extraConfig for gpg-agent.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we pass the config, the home directory config isn’t picked up anymore, so I need to pass it via `extraConfig`. --- machines/profpatsch/shiki.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 1ee8702d..2fc801fc 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -355,6 +355,13 @@ in { agent = { enable = true; sshSupport = true; + # I only want to unlock it once per session + extraConfig = '' + default-cache-ttl 34560000 + default-cache-ttl-ssh 34560000 + max-cache-ttl 34560000 + max-cache-ttl-ssh 34560000 + ''; }; }; -- cgit 1.4.1