diff --git a/modules/home-manager/application/gnupg/default.nix b/modules/home-manager/application/gnupg/default.nix index 77f341d..53a24f1 100644 --- a/modules/home-manager/application/gnupg/default.nix +++ b/modules/home-manager/application/gnupg/default.nix @@ -37,8 +37,13 @@ in enable = true; enableScDaemon = true; enableZshIntegration = true; - pinentryPackage = pkgs.pinentry-gnome3; + pinentry.package = pkgs.pinentry-gnome3; enableSshSupport = cfg.enableSshSupport; + maxCacheTtl = 60 * 60 * 2; + maxCacheTtlSsh = 60 * 60 * 2; + defaultCacheTtl = 60 * 60; + defaultCacheTtlSsh = 60 * 60; + noAllowExternalCache = true; }; home.sessionVariablesExtra = lib.mkIf cfg.enableSshSupport ''