nixos/knot: set defaultText for package option

the package attributes looks nicer in the manual
This commit is contained in:
Jörg Thalheim 2020-01-23 19:18:25 +00:00
parent 0d97ef510b
commit bfa278ee5a
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -56,6 +56,7 @@ in {
package = mkOption {
type = types.package;
default = pkgs.knot-dns;
defaultText = "pkgs.knot-dns";
description = ''
Which Knot DNS package to use
'';
@ -92,4 +93,3 @@ in {
environment.systemPackages = [ knot-cli-wrappers ];
};
}