nixos/knot: use a more precise type for .settings

See discussion on PR #304373

Changed files
+1 -1
nixos
modules
services
networking
+1 -1
nixos/modules/services/networking/knot.nix
···
};
settings = mkOption {
-
type = types.submodule { freeformType = types.attrs; };
default = {};
description = ''
Extra configuration as nix values.
···
};
settings = mkOption {
+
type = (pkgs.formats.yaml {}).type;
default = {};
description = ''
Extra configuration as nix values.