fix: various fixes

This commit is contained in:
FUFSoB committed 2026-06-24 23:08:16 +05:00
1 parent 22ebfa171d
commit 7ca7f4000b
17 files changed
+584 -353

No files matched your search

+3 -2
View File
@@ -15,6 +15,7 @@
}:
let
constants = derived.constants;
assertions = import ./service/assertions-lib.nix { inherit lib; };
inherit (assertions)
mkAssertion
@@ -42,7 +43,7 @@ let
perAppZapretCfg
;
globalTunAutoRouteTable = 2022;
globalTunAutoRouteTable = constants.tunAutoRouteTableIndex;
featureAssertions = [
(requireAvailable proxyCfg.singBox.enable proxyEnabled
@@ -160,7 +161,7 @@ let
condition = globalTun.enable && perAppRoutingTun.enable;
left = perAppRoutingTun.routeTable;
right = globalTunAutoRouteTable;
message = "proxy-suite: proxy.tun.perApp.routeTable must differ from the global TUN auto-route table 2022";
message = "proxy-suite: proxy.tun.perApp.routeTable must differ from the global TUN auto-route table ${toString globalTunAutoRouteTable}";
}
{
condition = perAppRoutingTun.enable && globalTproxy.enable;