No tiktok!

This commit is contained in:
Chris Dombroski 2024-08-16 06:51:37 -04:00
parent d628f404cf
commit 590aa28a65

View file

@ -63,6 +63,7 @@
path = with pkgs; [ gawk wget ]; path = with pkgs; [ gawk wget ];
script = '' script = ''
wget -nv -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf > /tmp/new.conf wget -nv -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf > /tmp/new.conf
echo 'local-zone: "tiktok.com." always_nxdomain' >> /tmp/new.conf
echo 'local-zone: "iogames.space." always_nxdomain' >> /tmp/new.conf echo 'local-zone: "iogames.space." always_nxdomain' >> /tmp/new.conf
echo 'local-zone: "taming.io." always_nxdomain' >> /tmp/new.conf echo 'local-zone: "taming.io." always_nxdomain' >> /tmp/new.conf
awk '!seen[$0]++' /tmp/new.conf > /etc/unbound/ads.conf awk '!seen[$0]++' /tmp/new.conf > /etc/unbound/ads.conf