gpg-agent: don't set a default for pinentry

NixOS stopped building gtk2 pinentry by default in
https://github.com/NixOS/nixpkgs/pull/270266 and there does not appear
to be a reasonable other default.
This commit is contained in:
Sandro 2023-12-24 03:27:45 +01:00 committed by Robert Helgesson
parent 2939d49036
commit 458544594b
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -198,7 +198,7 @@ in {
pinentryFlavor = mkOption {
type = types.nullOr (types.enum pkgs.pinentry.flavors);
example = "gnome3";
default = "gtk2";
default = null;
description = ''
Which pinentry interface to use. If not
`null`, it sets
@ -210,8 +210,6 @@ in {
```nix
services.dbus.packages = [ pkgs.gcr ];
```
For this reason, the default is `gtk2` for
now.
'';
};