From 44a3d4473fd7331245e9a69e31087fea2d7a3fdd Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Thu, 22 May 2025 23:09:50 +1000 Subject: [PATCH] services/unbound: fix syntax error --- modules/services/unbound.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/services/unbound.nix b/modules/services/unbound.nix index b7737c3..34eefe0 100644 --- a/modules/services/unbound.nix +++ b/modules/services/unbound.nix @@ -3,7 +3,8 @@ 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"}' | tail -n +2 > "$out" + echo "server:" > "$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 = {