pihole: added missing DHCP_ACTIVE option
This commit is contained in:
parent
73f22bea6a
commit
ec500d01a7
|
@ -9,8 +9,7 @@
|
||||||
cfg = config.profile.networking.firewall;
|
cfg = config.profile.networking.firewall;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# enable = cfg.enable;
|
enable = cfg.enable;
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = cfg.allowedTCPPorts;
|
allowedTCPPorts = cfg.allowedTCPPorts;
|
||||||
allowedUDPPorts = [ 53 ];
|
allowedUDPPorts = [ 53 ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ in
|
||||||
environment = {
|
environment = {
|
||||||
TZ = "Asia/Jakarta";
|
TZ = "Asia/Jakarta";
|
||||||
PIHOLE_DNS_ = "192.168.100.5";
|
PIHOLE_DNS_ = "192.168.100.5";
|
||||||
|
DHCP_ACTIVE = "true";
|
||||||
DHCP_START = "192.168.100.20";
|
DHCP_START = "192.168.100.20";
|
||||||
DHCP_END = "192.168.100.254";
|
DHCP_END = "192.168.100.254";
|
||||||
DHCP_ROUTER = "192.168.100.1";
|
DHCP_ROUTER = "192.168.100.1";
|
||||||
|
|
Loading…
Reference in a new issue