From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- modules/unbound.nix | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'modules/unbound.nix') 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; }; }; } -- cgit 1.4.1