pihole running!
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
#image = "pihole/pihole:2023.02.2";
|
||||
image = "pihole/pihole:latest";
|
||||
ports = [
|
||||
"5353:53/upd"
|
||||
"5353:53/udp"
|
||||
"5353:53/tcp"
|
||||
"9091:80/tcp"
|
||||
];
|
||||
@@ -87,20 +87,20 @@
|
||||
"--add-host=host.docker.internal:host-gateway"
|
||||
];
|
||||
};
|
||||
#systemd.services."docker-pihole".postStart = ''
|
||||
#while ! docker ps | grep pihole; do
|
||||
#sleep 10s
|
||||
#echo "Waiting on containers"
|
||||
#done
|
||||
#sleep 30s
|
||||
systemd.services."docker-pihole".postStart = ''
|
||||
while ! docker ps | grep pihole; do
|
||||
sleep 10s
|
||||
echo "Waiting on containers"
|
||||
done
|
||||
sleep 30s
|
||||
|
||||
#docker exec pihole pihole -a adlist add "https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt"
|
||||
#docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/AdguardDNS.txt"
|
||||
#docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/Easylist.txt"
|
||||
#docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/Easyprivacy.txt"
|
||||
docker exec pihole pihole -a adlist add "https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt"
|
||||
docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/AdguardDNS.txt"
|
||||
docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/Easylist.txt"
|
||||
docker exec pihole pihole -a adlist add "https://v.firebog.net/hosts/Easyprivacy.txt"
|
||||
|
||||
#docker exec pihole pihole -g
|
||||
#'';
|
||||
docker exec pihole pihole -g
|
||||
'';
|
||||
|
||||
# Enable flatpak for installing/running steam link software
|
||||
services.flatpak.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user