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 {
default = pkgs.knot-resolver;
type = types.package;
description = "
knot-resolver package to use.
";
default = pkgs.knot-resolver;
defaultText = "pkgs.knot-resolver";
example = literalExample "pkgs.knot-resolver.override { extraFeatures = true; }";
};
extraConfig = mkOption {
type = types.lines;