From ec500d01a7c2576a46f1047b19421035f97ea96a Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Mon, 17 Jun 2024 01:06:31 +0700 Subject: [PATCH] pihole: added missing DHCP_ACTIVE option --- system/modules/networking.nix | 3 +-- system/podman/pihole.nix | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/modules/networking.nix b/system/modules/networking.nix index de1261d..f63f783 100644 --- a/system/modules/networking.nix +++ b/system/modules/networking.nix @@ -9,8 +9,7 @@ cfg = config.profile.networking.firewall; in { - # enable = cfg.enable; - enable = true; + enable = cfg.enable; allowedTCPPorts = cfg.allowedTCPPorts; allowedUDPPorts = [ 53 ]; }; diff --git a/system/podman/pihole.nix b/system/podman/pihole.nix index f6ed65c..57ca15f 100644 --- a/system/podman/pihole.nix +++ b/system/podman/pihole.nix @@ -37,6 +37,7 @@ in environment = { TZ = "Asia/Jakarta"; PIHOLE_DNS_ = "192.168.100.5"; + DHCP_ACTIVE = "true"; DHCP_START = "192.168.100.20"; DHCP_END = "192.168.100.254"; DHCP_ROUTER = "192.168.100.1";