nixos/kresd.package: improve the generated docs

This commit is contained in:
Vladimír Čunát 2021-04-27 21:38:30 +02:00
parent 8ee00e6ca2
commit a4749b11d4
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -57,11 +57,13 @@ in {
''; '';
}; };
package = mkOption { package = mkOption {
default = pkgs.knot-resolver;
type = types.package; type = types.package;
description = " description = "
knot-resolver package to use. knot-resolver package to use.
"; ";
default = pkgs.knot-resolver;
defaultText = "pkgs.knot-resolver";
example = literalExample "pkgs.knot-resolver.override { extraFeatures = true; }";
}; };
extraConfig = mkOption { extraConfig = mkOption {
type = types.lines; type = types.lines;