diff options
Diffstat (limited to 'modules/unbound.nix')
-rw-r--r-- | modules/unbound.nix | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix index 7156409..c38c25b 100644 --- a/modules/unbound.nix +++ b/modules/unbound.nix @@ -49,7 +49,7 @@ in local-zone = lib.my.configurations - |> lib.mapAttrsToList (x: _: [ "\"${x}.${cfg.domain}\" redirect" ]) + |> lib.mapAttrsToList (x: _: [ ''"${x}.${cfg.domain}" redirect'' ]) |> lib.concatLists; local-data = lib.concatLists ( lib.mapAttrsToList ( @@ -166,9 +166,9 @@ in rpz = [ { - name = "hagezi-pro"; - zonefile = "hagezi-pro"; - url = "https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/rpz/pro.txt"; + name = "hagezi-ultimate"; + zonefile = "hagezi-ultimate"; + url = "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/rpz/ultimate.txt"; } { name = "big-osid"; @@ -221,16 +221,14 @@ in boot.kernel.sysctl."net.ipv4.tcp_fastopen" = lib.mkOverride 200 3; - topology = { - nodes.${this.hostname}.services.unbound = { - name = "Unbound"; - icon = "${inputs.homelab-svg-assets}/assets/unbound.svg"; - details.listen.text = - config.services.unbound.settings.server.interface - |> lib.filter (x: x != "127.0.0.1" && x != "::1") - |> map (x: "${x}:53") - |> lib.concatLines; - }; + topology.nodes.${this.hostname}.services.unbound = { + name = "Unbound"; + icon = "${inputs.homelab-svg-assets}/assets/unbound.svg"; + details.listen.text = + config.services.unbound.settings.server.interface + |> lib.filter (x: x != "127.0.0.1" && x != "::1") + |> map (x: "${x}:53") + |> lib.concatLines; }; }; } |