From 6de4d04fdbb5435bfbb0d05c84c41d6c613fb5c7 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 4 Oct 2024 14:49:12 +0200 Subject: [PATCH] nixos/bind: set type of zones.*.extraConfig to lines allowing multiple definitions of that option to be merged, because: - their order should be irrelevant - it might make sense to declare multiples of them at different locations --- nixos/modules/services/networking/bind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index 225e330ad184..6079062db6c3 100644 --- a/nixos/modules/services/networking/bind.nix +++ b/nixos/modules/services/networking/bind.nix @@ -45,7 +45,7 @@ let default = [ "any" ]; }; extraConfig = lib.mkOption { - type = lib.types.str; + type = lib.types.lines; description = "Extra zone config to be appended at the end of the zone section."; default = ""; };