mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
nixos/knot: use a more precise type for .settings
See discussion on PR #304373
This commit is contained in:
parent
30ddacc063
commit
5cb7aa5ec9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user