summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-01-23 19:18:25 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-01-23 23:17:04 +0000
commitbfa278ee5ad569860f9bd41e4b5ee8626087a849 (patch)
tree84d5fef55fc274168156c14e4ceec98def0150f4
parent0d97ef510bdc9d66f1023f970be58fdab2eb87fa (diff)
downloadnixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar.gz
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar.bz2
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar.lz
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar.xz
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.tar.zst
nixpkgs-bfa278ee5ad569860f9bd41e4b5ee8626087a849.zip
nixos/knot: set defaultText for package option
the package attributes looks nicer in the manual
-rw-r--r--nixos/modules/services/networking/knot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/knot.nix b/nixos/modules/services/networking/knot.nix
index 1cc1dd3f2f6..47364ecb846 100644
--- a/nixos/modules/services/networking/knot.nix
+++ b/nixos/modules/services/networking/knot.nix
@@ -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 ];
   };
 }
-