feat: toggle current proxy mode

This commit is contained in:
FUFSoB committed 2026-04-30 19:49:58 +05:00
1 parent 148f2bf2a2
commit fc95f71292
15 files changed
+697 -24

No files matched your search

+3 -1
View File
@@ -7,6 +7,7 @@
tproxyFile,
tunFile,
perAppTunFile,
routeModeRulesFile,
perAppTunChainFile,
perAppTproxyRulesFile,
perAppZapretRulesFile,
@@ -74,7 +75,7 @@ let
buildOutboundPy
fetchSubscriptionPy
;
inherit tproxyFile tunFile perAppTunFile;
inherit tproxyFile tunFile perAppTunFile routeModeRulesFile;
};
perAppRouting = import ./per-app-routing.nix {
@@ -112,6 +113,7 @@ let
;
zapretEnabled = cfg.zapret.enable;
inherit (scripts) subscriptionTagsFile;
inherit (scripts) routeModeStateFile;
inherit (perAppRouting)
perAppRoutingProfilesFile
proxychainsConfigFile