diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index 7a3cb588ee719..62f9847dbc634 100644 --- a/nixos/modules/programs/gnupg.nix +++ b/nixos/modules/programs/gnupg.nix @@ -123,7 +123,7 @@ in services.dbus.packages = mkIf (cfg.agent.pinentryFlavor == "gnome3") [ pkgs.gcr ]; - environment.systemPackages = with pkgs; [ cfg.package ]; + environment.systemPackages = with pkgs; [ cfg.package pinentry.${cfg.agent.pinentryFlavor} ]; systemd.packages = [ cfg.package ]; environment.interactiveShellInit = ''