3
0
Fork 0
forked from mirrors/nixpkgs

nixos: add services.bind.extraConfig option

This option allows users to add arbitrary configuration statements into
the generated named.conf file.
This commit is contained in:
Peter Simons 2015-09-29 11:50:39 +02:00
parent 51512d4c8f
commit 4578784820

View file

@ -24,6 +24,8 @@ let
pid-file "/var/run/named/named.pid";
};
${cfg.extraConfig}
${ concatMapStrings
({ name, file, master ? true, slaves ? [], masters ? [] }:
''
@ -110,6 +112,13 @@ in
}];
};
extraConfig = mkOption {
default = "";
description = "
Extra lines to be added verbatim to the generated named configuration file.
";
};
configFile = mkOption {
default = confFile;
description = "