Compare commits
2 commits
61b2acbd33
...
2da09ac67e
Author | SHA1 | Date | |
---|---|---|---|
2da09ac67e | |||
9644691df2 |
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
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.
|
||||||
|
@ -56,7 +57,6 @@
|
||||||
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