docker pihole debug
This commit is contained in:
@@ -7,6 +7,13 @@
|
|||||||
|
|
||||||
config = lib.mkIf (config.sysconfig.docker.pihole.enable && config.sysconfig.docker.enable) {
|
config = lib.mkIf (config.sysconfig.docker.pihole.enable && config.sysconfig.docker.enable) {
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
firewall.interfaces."docker0" = {
|
||||||
|
allowedTCPPorts = [ 53 ];
|
||||||
|
allowedUDPPorts = [ 53 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.pihole = {
|
virtualisation.oci-containers.containers.pihole = {
|
||||||
image = "pihole/pihole:latest";
|
image = "pihole/pihole:latest";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user