about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-20 21:45:51 +0900
committersefidel <contact@sefidel.net>2024-02-20 21:45:51 +0900
commit0d7734a9ee483f54e0c4fb95648a06dc98aca10e (patch)
tree201165de747cb46e5221a60b140f19fc5f6dba15 /modules
parentcd017d1b617c4ee3c0e823b8681a14ec11f768b6 (diff)
downloadnixrc-0d7734a9ee483f54e0c4fb95648a06dc98aca10e.tar.gz
nixrc-0d7734a9ee483f54e0c4fb95648a06dc98aca10e.zip
feat(modules/blocky): use new upstreams method
Diffstat (limited to 'modules')
-rw-r--r--modules/services/blocky/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/services/blocky/default.nix b/modules/services/blocky/default.nix
index f68ba71..5fafb5e 100644
--- a/modules/services/blocky/default.nix
+++ b/modules/services/blocky/default.nix
@@ -22,11 +22,13 @@ in
           http = 4000;
         };
 
-        upstream.default = [
-          "https://dns.quad9.net/dns-query"
-          "https://one.one.one.one/dns-query"
-        ];
-        upstreamTimeout = "10s";
+        upstreams = {
+          groups.default = [
+            "https://dns.quad9.net/dns-query"
+            "https://one.one.one.one/dns-query"
+          ];
+          timeout = "10s";
+        };
 
         # For initially solving DoH/DoT Requests when no system Resolver is available
         bootstrapDns = {