Adding extraConfig to unbound
svn path=/nixos/trunk/; revision=30211
This commit is contained in:
parent
a4d2682238
commit
efc64042e0
@ -32,9 +32,10 @@ let
|
|||||||
pidfile: "${stateDir}/unbound.pid"
|
pidfile: "${stateDir}/unbound.pid"
|
||||||
verbosity: 1 # uncomment and increase to get more logging.
|
verbosity: 1 # uncomment and increase to get more logging.
|
||||||
# listen on all interfaces, answer queries from the local subnet.
|
# listen on all interfaces, answer queries from the local subnet.
|
||||||
${interfaces}
|
${interfaces}
|
||||||
${access}
|
${access}
|
||||||
${forward}
|
${forward}
|
||||||
|
${cfg.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -75,6 +76,13 @@ in
|
|||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = mkOption {
|
||||||
|
default = "";
|
||||||
|
description = "
|
||||||
|
Extra unbound config
|
||||||
|
";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user