nixos/knot: use a more precise type for .settings
See discussion on PR #304373
This commit is contained in:
parent
30ddacc063
commit
5cb7aa5ec9
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = mkOption {
|
settings = mkOption {
|
||||||
type = types.submodule { freeformType = types.attrs; };
|
type = (pkgs.formats.yaml {}).type;
|
||||||
default = {};
|
default = {};
|
||||||
description = ''
|
description = ''
|
||||||
Extra configuration as nix values.
|
Extra configuration as nix values.
|
||||||
|
|
Loading…
Reference in a new issue