pihole: added missing DHCP_ACTIVE option

This commit is contained in:
Tigor Hutasuhut 2024-06-17 01:06:31 +07:00
parent 73f22bea6a
commit ec500d01a7
2 changed files with 2 additions and 2 deletions

View file

@ -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 ];
}; };

View file

@ -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";