From 5cb7aa5ec9f97ccc7fd4287b7dd526e783d8358d Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 28 Apr 2024 10:26:09 +0200 Subject: nixos/knot: use a more precise type for .settings See discussion on PR #304373 --- nixos/modules/services/networking/knot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/services/networking/knot.nix b/nixos/modules/services/networking/knot.nix index 89d3ea5e9626a..145b4ad1dd3f1 100644 --- a/nixos/modules/services/networking/knot.nix +++ b/nixos/modules/services/networking/knot.nix @@ -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. -- cgit 1.4.1