modules(pihole-container): add option for configuring the DNS interface of the container
This commit is contained in:
parent
ebe48a0c6e
commit
d72b14f17b
1 changed files with 11 additions and 0 deletions
|
@ -95,6 +95,17 @@ in rec {
|
||||||
envVar = "TZ";
|
envVar = "TZ";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interface = mkContainerEnvOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
Set the interface of the pihole container on which it should respond to DNS requests.
|
||||||
|
|
||||||
|
Note: Configuring "Allow only local requests" is currently not supported by the pihole image at startup but can be done later through the web interface.
|
||||||
|
'';
|
||||||
|
default = "tap0";
|
||||||
|
envVar = "INTERFACE";
|
||||||
|
};
|
||||||
|
|
||||||
web = {
|
web = {
|
||||||
password = mkContainerEnvOption {
|
password = mkContainerEnvOption {
|
||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
|
|
Loading…
Add table
Reference in a new issue