pihole wip

This commit is contained in:
2025-07-30 22:25:16 -05:00
parent 9d787a8f25
commit ef5bff796e
3 changed files with 35 additions and 126 deletions

View File

@@ -19,6 +19,39 @@
path = "/ssd1/Pihole/.env";
};
containers.pihole = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.100.10";
localAddress = "192.168.100.28";
config = {
networking.firewall.allowedTCPPorts = [ 80 ];
services = {
pihole-web = {
enable = true;
ports = [ "80r" ];
};
pihole-ftl = {
enable = true;
openFirewallDNS = true;
};
unbound = {
enable = true;
};
};
system.stateVersion = "24.05";
};
};
};
}