mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:29:24 +08:00
modules.services.xray: fix compatibility with tailscale DNS
This commit is contained in:
@@ -34,7 +34,8 @@ inputs:
|
||||
{
|
||||
no-poll = true;
|
||||
log-queries = true;
|
||||
server = [ "127.0.0.1#10853" ];
|
||||
server = [ "127.0.0.1#10853" ]
|
||||
++ inputs.lib.optionals (inputs.config.nixos.services.tailscale != null) [ "/ts.chn.moe/100.100.100.100" ];
|
||||
interface = client.dnsmasq.extraInterfaces ++ [ "lo" ];
|
||||
bind-dynamic = true;
|
||||
address = builtins.map (host: "/${host.name}/${host.value}")
|
||||
|
||||
Reference in New Issue
Block a user