From 5823e08f1f02f13f63b4139c881e2f654ffb1cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Mon, 9 Mar 2026 12:17:19 -0700 Subject: [PATCH] fix(home): cache GPG agent passphrase for 24 hours Set defaultCacheTtl and maxCacheTtl to 86400 seconds so the GPG passphrase only needs to be entered once per day, preventing repeated prompts during automated git operations. Co-Authored-By: Claude Opus 4.6 --- home/services.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/services.nix b/home/services.nix index b79d01ba..ee852b3f 100644 --- a/home/services.nix +++ b/home/services.nix @@ -2,6 +2,8 @@ services.gpg-agent = { enable = true; enableZshIntegration = true; + defaultCacheTtl = 86400; + maxCacheTtl = 86400; pinentry.package = with pkgs; if stdenv.isDarwin then pinentry_mac