nixos/knot: set defaultText for package option
the package attributes looks nicer in the manual
This commit is contained in:
@@ -56,6 +56,7 @@ in {
|
|||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.knot-dns;
|
default = pkgs.knot-dns;
|
||||||
|
defaultText = "pkgs.knot-dns";
|
||||||
description = ''
|
description = ''
|
||||||
Which Knot DNS package to use
|
Which Knot DNS package to use
|
||||||
'';
|
'';
|
||||||
@@ -92,4 +93,3 @@ in {
|
|||||||
environment.systemPackages = [ knot-cli-wrappers ];
|
environment.systemPackages = [ knot-cli-wrappers ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user