new routing options

This commit is contained in:
FUFSoB committed 2026-04-12 04:50:13 +05:00
1 parent 88a7bb48f8
commit cedb49a5fa
7 files changed
+275 -24

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@
let
sb = cfg.singBox;
direct = rules.direct;
clashApiBlock = lib.optionalAttrs (sb.selection != "first") {
experimental = {
@@ -35,7 +36,7 @@ let
rule_set = [ "geosite-google" ];
server = "remote";
}
++ lib.optional (builtins.elem "category-ru" sb.routing.direct.geosites) {
++ lib.optional (builtins.elem "category-ru" direct.geosites) {
rule_set = [ "geosite-category-ru" ];
server = "local";
};