Unverified Commit 6034d354 authored by Colin Sane's avatar Colin Sane Committed by GitHub
Browse files

nixos/trust-dns: fix invalid default for `settings.zones` option (#308513)

and fix a few documentation typos while here.
parent 1c708f7d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ in
      package = mkPackageOption pkgs "trust-dns" {
        extraDescription = ''
          ::: {.note}
          The package must provide `meta.mainProgram` which names the server binayr; any other utilities (client, resolver) are not needed.
          The package must provide `meta.mainProgram` which names the server binary; any other utilities (client, resolver) are not needed.
          :::
        '';
      };
@@ -114,7 +114,7 @@ in
            };
            zones = mkOption {
              description = "List of zones to serve.";
              default = {};
              default = [];
              type = types.listOf (types.coercedTo types.str (zone: { inherit zone; }) zoneType);
            };
          };