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

See discussion on PR #304373
This commit is contained in:
Vladimír Čunát
2024-04-28 10:26:09 +02:00
parent 30ddacc063
commit 5cb7aa5ec9
+1 -1
View File
@@ -226,7 +226,7 @@ in {
};
settings = mkOption {
type = types.submodule { freeformType = types.attrs; };
type = (pkgs.formats.yaml {}).type;
default = {};
description = ''
Extra configuration as nix values.