This commit is contained in:
FUFSoB committed 2026-04-12 04:59:41 +05:00
1 parent cedb49a5fa
commit 708e0ea14e
3 files changed
+48 -9

No files matched your search

+3 -3
View File
@@ -36,11 +36,11 @@ let
rule_set = [ "geosite-google" ];
server = "remote";
}
++ lib.optional (builtins.elem "category-ru" direct.geosites) {
rule_set = [ "geosite-category-ru" ];
++ lib.optional (direct.geosites != [ ]) {
rule_set = map (s: "geosite-${s}") direct.geosites;
server = "local";
};
final = "remote";
final = if sb.proxyByDefault then "remote" else "local";
};
dnsConfigTun = dnsConfig // {