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
This commit is contained in:
Felix Stupp 2024-10-04 14:49:12 +02:00 committed by GitHub
parent ca59d0bee3
commit 6de4d04fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = "";
};