services/unbound: fix syntax error
This commit is contained in:
parent
f87dfa314e
commit
44a3d4473f
1 changed files with 2 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue