From 3963c6a5d8820315394c02b8113eaf372c419b8a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 2 Jun 2024 12:43:01 +0200 Subject: [PATCH] gpg: Use pinentryPackage instead of pinentryFlavor --- users/simon/modules/gpg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/gpg.nix b/users/simon/modules/gpg.nix index b440afb..e7308d5 100644 --- a/users/simon/modules/gpg.nix +++ b/users/simon/modules/gpg.nix @@ -20,7 +20,7 @@ enableZshIntegration = true; enableSshSupport = lib.mkDefault nixosConfig.sbruder.gui.enable; - pinentryFlavor = if nixosConfig.sbruder.gui.enable then "gnome3" else "curses"; + pinentryPackage = if nixosConfig.sbruder.gui.enable then pkgs.pinentry-gnome3 else pkgs.pinentry-curses; defaultCacheTtl = 300; defaultCacheTtlSsh = defaultCacheTtl;