Adding extraConfig to unbound

svn path=/nixos/trunk/; revision=30211
This commit is contained in:
Lluís Batlle i Rossell 2011-11-03 18:49:54 +00:00
parent a4d2682238
commit efc64042e0

View File

@ -32,9 +32,10 @@ let
pidfile: "${stateDir}/unbound.pid"
verbosity: 1 # uncomment and increase to get more logging.
# listen on all interfaces, answer queries from the local subnet.
${interfaces}
${access}
${forward}
${interfaces}
${access}
${forward}
${cfg.extraConfig}
'';
in
@ -75,6 +76,13 @@ in
";
};
extraConfig = mkOption {
default = "";
description = "
Extra unbound config
";
};
};
};