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"
|
||||
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
|
||||
";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user