about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/gp/gpg/module.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/by-name/gp/gpg/module.nix b/modules/by-name/gp/gpg/module.nix
index cd913daf..89d7b356 100644
--- a/modules/by-name/gp/gpg/module.nix
+++ b/modules/by-name/gp/gpg/module.nix
@@ -57,8 +57,10 @@ in {
           maxCacheTtl = 60 * 50;
           maxCacheTtlSsh = 60 * 50;
 
-          pinentryPackage = pkgs.pinentry-curses;
-          # pinentryPackage = pkgs.pinentry-tty;
+          pinentry = {
+            package = pkgs.pinentry-curses;
+            # package = pkgs.pinentry-tty;
+          };
 
           enableSshSupport = true;
           sshKeys = let