Compare commits

..

No commits in common. "2da09ac67e2d703d10108e29bc2b638f84234db9" and "61b2acbd33865c61157de389a2793c46fe8c68b1" have entirely different histories.

View file

@ -11,7 +11,6 @@
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.
@ -57,6 +56,7 @@
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