about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2024-04-28 15:01:52 +0200
committerGitHub <noreply@github.com>2024-04-28 15:01:52 +0200
commit3b61d595b17f2e3410bcc79c473060e098829eb8 (patch)
tree416654cd041584ba115abe1c41e1c1e482117f7e /nixos/modules
parent82a87c9999b65857f85551e7abd73967230f2e32 (diff)
parent5cb7aa5ec9f97ccc7fd4287b7dd526e783d8358d (diff)
Merge pull request #307440 from vcunat/p/knot-service
nixos/knot: use a more precise type for .settings
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/knot.nix2
1 files changed, 1 insertions, 1 deletions
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.