nixos/knot: use a more precise type for .settings
See discussion on PR #304373
Vladimír Čunát 2 years ago 5cb7aa5e 30ddacc0
··· 226 226 }; 227 227 228 228 settings = mkOption { 229 229 - type = types.submodule { freeformType = types.attrs; }; 229 229 + type = (pkgs.formats.yaml {}).type; 230 230 default = {}; 231 231 description = '' 232 232 Extra configuration as nix values.