home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit deb7dd4a879c0bd754db18e8dd90ee2af327b90c
parent 4317fe7b15794830c35f17269218b552ef7e532d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 18 Mar 2024 05:26:35 +0100

users/vincent: fix pinentry package

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/core/gpg.nix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/users/vincent/core/gpg.nix b/users/vincent/core/gpg.nix @@ -1,7 +1,7 @@ { pkgs, lib, nixosConfig, ... }: let - pinentry = if (nixosConfig.modules.desktop.enable) then "gnome3" else "tty"; + pinentry = if (nixosConfig.modules.desktop.enable) then pkgs.pinentry-gnome3 else pkgs.pinentry-tty; in { home.packages = with pkgs; [ gnupg ]; @@ -11,7 +11,8 @@ in enableSshSupport = true; enableExtraSocket = true; defaultCacheTtlSsh = 7200; - pinentryFlavor = pinentry; + pinentryPackage = pinentry; }; }; } +