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
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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.