Compare commits
No commits in common. "2da09ac67e2d703d10108e29bc2b638f84234db9" and "61b2acbd33865c61157de389a2793c46fe8c68b1" have entirely different histories.
2da09ac67e
...
61b2acbd33
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
boot.loader.generic-extlinux-compatible.enable = true;
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
boot.loader.timeout = 1;
|
boot.loader.timeout = 1;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "orangepihole"; # Define your hostname.
|
hostName = "orangepihole"; # Define your hostname.
|
||||||
|
@ -57,6 +56,7 @@
|
||||||
postStop = "systemctl reload unbound";
|
postStop = "systemctl reload unbound";
|
||||||
path = with pkgs; [ gawk wget ];
|
path = with pkgs; [ gawk wget ];
|
||||||
script = ''
|
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
|
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: "iogames.space." always_nxdomain' >> /etc/unbound/new.conf
|
||||||
echo 'local-zone: "taming.io." always_nxdomain' >> /etc/unbound/new.conf
|
echo 'local-zone: "taming.io." always_nxdomain' >> /etc/unbound/new.conf
|
||||||
|
|
Loading…
Reference in a new issue