pihole changes

This commit is contained in:
2025-07-25 09:12:40 +02:00
parent cf52ae7df5
commit f5da0692b2

View File

@@ -50,11 +50,11 @@ in {
image = "pihole/pihole:latest"; image = "pihole/pihole:latest";
volumes = ["/var/lib/pihole:/etc/pihole/"]; volumes = ["/var/lib/pihole:/etc/pihole/"];
environment = { environment = {
TZ = "Europe/Moscow";
CUSTOM_CACHE_SIZE = "0"; CUSTOM_CACHE_SIZE = "0";
# PIHOLE_DNS_ = "10.88.0.1#5335"; # PIHOLE_DNS_ = "10.88.0.1#5335";
# DNSSEC = "false"; # DNSSEC = "false";
# REV_SERVER = "true"; # REV_SERVER = "true";
# VIRTUAL_HOST = "${unit}.${srv.domain}";
WEBTHEME = "default-darker"; WEBTHEME = "default-darker";
}; };
environmentFiles = [config.age.secrets.pihole.path]; environmentFiles = [config.age.secrets.pihole.path];
@@ -63,6 +63,11 @@ in {
"53:53/udp" "53:53/udp"
"8053:80/tcp" "8053:80/tcp"
]; ];
extraOptions = [
"--cap-add=NET_ADMIN"
"--cap-add=SYS_NICE"
"--cap-add=SYS_TIME"
];
}; };
}; };