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