Compare commits

...

2 commits

Author SHA1 Message Date
2da09ac67e No ad blocking apparently 2024-05-06 10:50:18 -04:00
9644691df2 latest kernel for pi 2024-05-06 09:26:57 -04:00

View file

@ -11,6 +11,7 @@
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.timeout = 1;
boot.kernelPackages = pkgs.linuxPackages_latest;
networking = {
hostName = "orangepihole"; # Define your hostname.
@ -56,7 +57,6 @@
postStop = "systemctl reload unbound";
path = with pkgs; [ gawk wget ];
script = ''
wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/light.blacklist.conf > /etc/unbound/new.conf
wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf >> /etc/unbound/new.conf
echo 'local-zone: "iogames.space." always_nxdomain' >> /etc/unbound/new.conf
echo 'local-zone: "taming.io." always_nxdomain' >> /etc/unbound/new.conf