diff options
author | sefidel <contact@sefidel.net> | 2024-02-20 21:45:51 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-20 21:45:51 +0900 |
commit | 0d7734a9ee483f54e0c4fb95648a06dc98aca10e (patch) | |
tree | 201165de747cb46e5221a60b140f19fc5f6dba15 /modules/services/blocky | |
parent | cd017d1b617c4ee3c0e823b8681a14ec11f768b6 (diff) | |
download | nixrc-0d7734a9ee483f54e0c4fb95648a06dc98aca10e.tar.gz nixrc-0d7734a9ee483f54e0c4fb95648a06dc98aca10e.zip |
feat(modules/blocky): use new upstreams method
Diffstat (limited to 'modules/services/blocky')
-rw-r--r-- | modules/services/blocky/default.nix | 12 |
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 = { |