about summary refs log tree commit diff stats
path: root/modules/by-name/gp/gpg/module.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 20:44:17 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 20:44:17 +0200
commit960532ca1ad976bec654a1ac2fa3707849357af6 (patch)
tree65e478b52d0437e86adfbecd683ca938604bb5e1 /modules/by-name/gp/gpg/module.nix
parentmodules/age: Correctly spell `age` (diff)
downloadnixos-config-960532ca1ad976bec654a1ac2fa3707849357af6.zip
modules/gpg: Move the `pinentryPackage` to `pinentry.package`
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