From d10cf8b25f9af3797ae068839ced63ac04536c49 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Fri, 29 Nov 2024 12:48:00 -0600 Subject: [PATCH] update gpg settings --- home/modules/gpg.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/home/modules/gpg.nix b/home/modules/gpg.nix index 0992701..3dc2d30 100644 --- a/home/modules/gpg.nix +++ b/home/modules/gpg.nix @@ -25,9 +25,20 @@ in { services.gpg-agent = { enable = true; + enableZshIntegration = true; - pinentryPackage = pkgs.pinentry-emacs; + enableBashIntegration = true; + + enableExtraSocket = true; enableSshSupport = true; + + defaultCacheTtl = 3600 * 3; + defaultCacheTtlSsh = 3600 * 3; + + maxCacheTtl = 3600 * 6; + maxCacheTtlSsh = 3600 * 6; + + pinentryPackage = pkgs.pinentry-emacs; }; accounts.email.accounts = {