fix: different xray fixes

This commit is contained in:
FUFSoB committed 2026-06-18 12:53:35 +05:00
1 parent 759bde8b29
commit ce86e5669b
7 files changed
+156 -21

No files matched your search

@@ -68,6 +68,9 @@ let
(mkAssertion (
!(xrayEnabled && proxyCfg.selection == "selector")
) "proxy-suite: proxy.selection = \"selector\" is only available with proxy.singBox.enable = true")
(mkAssertion (
!(xrayEnabled && (proxyCfg.dns.local.type == "tls" || proxyCfg.dns.remote.type == "tls"))
) "proxy-suite: proxy.dns.*.type = \"tls\" is not supported with proxy.xray.enable = true; use udp/tcp DNS for XRay")
(requireEnabled globalTun.enable proxyEnabled
"proxy-suite: proxy.tun.enable requires proxy.enable = true"
)