Skip to content

Commit 15e602d

Browse files
stackptrclaude
andauthored
fix(home): cache GPG agent passphrase for 24 hours (#335)
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 <noreply@anthropic.com>
1 parent 62db5f5 commit 15e602d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎home/services.nix‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
services.gpg-agent = {
33
enable = true;
44
enableZshIntegration = true;
5+
defaultCacheTtl = 86400;
6+
maxCacheTtl = 86400;
57
pinentry.package = with pkgs;
68
if stdenv.isDarwin
79
then pinentry_mac

0 commit comments

Comments
 (0)