programs.gnupg.agent.pinentryPackage

Which pinentry package to use. The path to the mainProgram as defined in the package's meta attributes will be set in /etc/gnupg/gpg-agent.conf. If not set by the user, it'll pick an appropriate flavor depending on the system configuration (qt flavor for lxqt and plasma, gtk2 for xfce, gnome3 on all other systems with X enabled, curses otherwise).

Type
null or package
Default

matching the configured desktop environment or pkgs.pinentry-curses

Example

pkgs.pinentry-gnome3

Declared
<nixpkgs/nixos/modules/programs/gnupg.nix>