refactor: overhaul of options and features

Includes, but not limited to:
- zapret2 support
- declarative inbounds
- proxy-ctl revamp
- automatic proxy learning
This commit is contained in:
FUFSoB committed 2026-09-13 22:37:45 +05:00
1 parent b892384527
commit fdb2b08790
144 files changed
+13198 -14066

No files matched your search

@@ -13,7 +13,7 @@ let
enable = true;
proxy = {
enable = true;
singBox.enable = true;
backend = "sing-box";
subscriptions = [
{
tag = "community";
@@ -41,7 +41,7 @@ let
enable = true;
proxy = {
enable = true;
singBox.enable = true;
backend = "sing-box";
outbounds = [
{
tag = "own-vps";
@@ -71,7 +71,7 @@ let
enable = true;
proxy = {
enable = true;
singBox.enable = true;
backend = "sing-box";
subscriptions = [
{
tag = "community";
@@ -94,16 +94,18 @@ let
enable = true;
proxy = {
enable = true;
singBox.enable = true;
backend = "sing-box";
subscriptions = [
{
tag = "community";
url = "https://example.com/sub/token";
}
];
tun.perApp.enable = true;
};
perAppRouting.enable = true;
perAppRouting = {
enable = true;
tun.enable = true;
};
};
}
];