From f87dfa314e87d34b0bf7b1afc3d2bdb35dd1b589 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Thu, 22 May 2025 23:03:17 +1000 Subject: [PATCH] system/unbound: remove first line of stevenblack hosts --- modules/services/unbound.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/unbound.nix b/modules/services/unbound.nix index 5ee9cc7..b7737c3 100644 --- a/modules/services/unbound.nix +++ b/modules/services/unbound.nix @@ -3,7 +3,7 @@ let dir = "/persist/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 { networking.firewall.interfaces.wg0 = {