system/unbound: remove first line of stevenblack hosts

This commit is contained in:
LavaDesu 2025-05-22 23:03:17 +10:00
parent 17164b05b9
commit f87dfa314e
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -3,7 +3,7 @@ let
dir = "/persist/unbound"; dir = "/persist/unbound";
converted = pkgs.runCommand "stevenblack-hosts-unbound" {} '' converted = pkgs.runCommand "stevenblack-hosts-unbound" {} ''
grep '^0\.0\.0\.0' "${inputs.stevenblack-hosts}/hosts" | awk '{print "local-zone: \""$2"\" always_refuse"}' > "$out" grep '^0\.0\.0\.0' "${inputs.stevenblack-hosts}/hosts" | awk '{print "local-zone: \""$2"\" always_refuse"}' | tail -n +2 > "$out"
''; '';
in { in {
networking.firewall.interfaces.wg0 = { networking.firewall.interfaces.wg0 = {