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 = {