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 {
type = types.submodule { freeformType = types.attrs; };
type = (pkgs.formats.yaml {}).type;
default = {};
description = ''
Extra configuration as nix values.