system/unbound: remove first line of stevenblack hosts
This commit is contained in:
parent
17164b05b9
commit
f87dfa314e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue