about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-04-28 10:26:09 +0200
committerVladimír Čunát <v@cunat.cz>2024-04-28 10:26:09 +0200
commit5cb7aa5ec9f97ccc7fd4287b7dd526e783d8358d (patch)
tree727610831ae9af80fb0636c7f0d28ccf0e8af47d /nixos/modules
parent30ddacc06345a478f9528fa29e2c8857b90381b2 (diff)
nixos/knot: use a more precise type for .settings
See discussion on PR #304373
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.