diff options
author | pennae <github@quasiparticle.net> | 2021-12-05 22:06:49 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2021-12-09 01:38:24 +0100 |
commit | 2d564521c094b17e88707ac95cb4b6331b1b709a (patch) | |
tree | 39be0a04a8835f7682dd70aae57d85ca46db7c3d /nixos/modules/programs | |
parent | 6eaf4f90c2b25918109fb2689d56e33a4f59f37d (diff) |
treewide: add literalDocBook text to options with complex defaults
some options have default that are best described in prose, such as defaults that depend on the system stateVersion, defaults that are derivations specific to the surrounding context, or those where the expression is much longer and harder to understand than a simple text snippet.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/gnupg.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index 06f49182e4df1..fe5d7bd834b22 100644 --- a/nixos/modules/programs/gnupg.nix +++ b/nixos/modules/programs/gnupg.nix @@ -71,6 +71,7 @@ in type = types.nullOr (types.enum pkgs.pinentry.flavors); example = "gnome3"; default = defaultPinentryFlavor; + defaultText = literalDocBook ''matching the configured desktop environment''; description = '' Which pinentry interface to use. If not null, the path to the pinentry binary will be passed to gpg-agent via commandline and |