# proxy-suite options
This file is generated from the `services.proxy-suite` option descriptions in [`modules/proxy-suite/options.nix`](modules/proxy-suite/options.nix).
Update module option docs there instead of editing this file by hand.
## Table of contents
- Config samples
- [Complete default config](#complete-default-config)
- [Complete example config](#complete-example-config)
- services.proxy-suite
- [enable](#services-proxy-suite-enable)
- appRouting
- [enable](#services-proxy-suite-approuting-enable)
- backends
- tproxy
- [enable](#services-proxy-suite-approuting-backends-tproxy-enable)
- [fwmark](#services-proxy-suite-approuting-backends-tproxy-fwmark)
- [localSubnets](#services-proxy-suite-approuting-backends-tproxy-localsubnets)
- [routeTable](#services-proxy-suite-approuting-backends-tproxy-routetable)
- tun
- [enable](#services-proxy-suite-approuting-backends-tun-enable)
- [address](#services-proxy-suite-approuting-backends-tun-address)
- [fwmark](#services-proxy-suite-approuting-backends-tun-fwmark)
- [interface](#services-proxy-suite-approuting-backends-tun-interface)
- [localSubnets](#services-proxy-suite-approuting-backends-tun-localsubnets)
- [mtu](#services-proxy-suite-approuting-backends-tun-mtu)
- [routeTable](#services-proxy-suite-approuting-backends-tun-routetable)
- zapret
- [enable](#services-proxy-suite-approuting-backends-zapret-enable)
- [filterMark](#services-proxy-suite-approuting-backends-zapret-filtermark)
- [qnum](#services-proxy-suite-approuting-backends-zapret-qnum)
- [createDefaultProfiles](#services-proxy-suite-approuting-createdefaultprofiles)
- [profiles](#services-proxy-suite-approuting-profiles)
- item
- [name](#services-proxy-suite-approuting-profiles-name)
- [route](#services-proxy-suite-approuting-profiles-route)
- proxychains
- [enable](#services-proxy-suite-approuting-proxychains-enable)
- [proxyDns](#services-proxy-suite-approuting-proxychains-proxydns)
- [quiet](#services-proxy-suite-approuting-proxychains-quiet)
- userControl
- [group](#services-proxy-suite-approuting-usercontrol-group)
- singBox
- [enable](#services-proxy-suite-singbox-enable)
- [clashApiPort](#services-proxy-suite-singbox-clashapiport)
- dns
- [local](#services-proxy-suite-singbox-dns-local)
- [address](#services-proxy-suite-singbox-dns-local-address)
- [port](#services-proxy-suite-singbox-dns-local-port)
- [type](#services-proxy-suite-singbox-dns-local-type)
- [remote](#services-proxy-suite-singbox-dns-remote)
- [address](#services-proxy-suite-singbox-dns-remote-address)
- [port](#services-proxy-suite-singbox-dns-remote-port)
- [type](#services-proxy-suite-singbox-dns-remote-type)
- [fwmark](#services-proxy-suite-singbox-fwmark)
- [listenAddress](#services-proxy-suite-singbox-listenaddress)
- [outbounds](#services-proxy-suite-singbox-outbounds)
- item
- [json](#services-proxy-suite-singbox-outbounds-json)
- routing
- [domains](#services-proxy-suite-singbox-outbounds-routing-domains)
- [geoips](#services-proxy-suite-singbox-outbounds-routing-geoips)
- [geosites](#services-proxy-suite-singbox-outbounds-routing-geosites)
- [ips](#services-proxy-suite-singbox-outbounds-routing-ips)
- [tag](#services-proxy-suite-singbox-outbounds-tag)
- [url](#services-proxy-suite-singbox-outbounds-url)
- [urlFile](#services-proxy-suite-singbox-outbounds-urlfile)
- [port](#services-proxy-suite-singbox-port)
- [proxyByDefault](#services-proxy-suite-singbox-proxybydefault)
- [proxyMark](#services-proxy-suite-singbox-proxymark)
- [routeTable](#services-proxy-suite-singbox-routetable)
- routing
- [enableRuDirect](#services-proxy-suite-singbox-routing-enablerudirect)
- block
- [domains](#services-proxy-suite-singbox-routing-block-domains)
- [geoips](#services-proxy-suite-singbox-routing-block-geoips)
- [geosites](#services-proxy-suite-singbox-routing-block-geosites)
- [ips](#services-proxy-suite-singbox-routing-block-ips)
- direct
- [domains](#services-proxy-suite-singbox-routing-direct-domains)
- [geoips](#services-proxy-suite-singbox-routing-direct-geoips)
- [geosites](#services-proxy-suite-singbox-routing-direct-geosites)
- [ips](#services-proxy-suite-singbox-routing-direct-ips)
- proxy
- [domains](#services-proxy-suite-singbox-routing-proxy-domains)
- [geoips](#services-proxy-suite-singbox-routing-proxy-geoips)
- [geosites](#services-proxy-suite-singbox-routing-proxy-geosites)
- [ips](#services-proxy-suite-singbox-routing-proxy-ips)
- [rules](#services-proxy-suite-singbox-routing-rules)
- item
- [domains](#services-proxy-suite-singbox-routing-rules-domains)
- [geoips](#services-proxy-suite-singbox-routing-rules-geoips)
- [geosites](#services-proxy-suite-singbox-routing-rules-geosites)
- [ips](#services-proxy-suite-singbox-routing-rules-ips)
- [outbound](#services-proxy-suite-singbox-routing-rules-outbound)
- [selection](#services-proxy-suite-singbox-selection)
- [subscriptionUpdateInterval](#services-proxy-suite-singbox-subscriptionupdateinterval)
- [subscriptions](#services-proxy-suite-singbox-subscriptions)
- item
- [tag](#services-proxy-suite-singbox-subscriptions-tag)
- [url](#services-proxy-suite-singbox-subscriptions-url)
- [urlFile](#services-proxy-suite-singbox-subscriptions-urlfile)
- tproxy
- [enable](#services-proxy-suite-singbox-tproxy-enable)
- [autostart](#services-proxy-suite-singbox-tproxy-autostart)
- [localSubnets](#services-proxy-suite-singbox-tproxy-localsubnets)
- [tproxyPort](#services-proxy-suite-singbox-tproxyport)
- tun
- [enable](#services-proxy-suite-singbox-tun-enable)
- [address](#services-proxy-suite-singbox-tun-address)
- [autostart](#services-proxy-suite-singbox-tun-autostart)
- [interface](#services-proxy-suite-singbox-tun-interface)
- [mtu](#services-proxy-suite-singbox-tun-mtu)
- urlTest
- [interval](#services-proxy-suite-singbox-urltest-interval)
- [tolerance](#services-proxy-suite-singbox-urltest-tolerance)
- [url](#services-proxy-suite-singbox-urltest-url)
- tgWsProxy
- [enable](#services-proxy-suite-tgwsproxy-enable)
- [dcIps](#services-proxy-suite-tgwsproxy-dcips)
- [host](#services-proxy-suite-tgwsproxy-host)
- [port](#services-proxy-suite-tgwsproxy-port)
- [secret](#services-proxy-suite-tgwsproxy-secret)
- [secretFile](#services-proxy-suite-tgwsproxy-secretfile)
- tray
- [enable](#services-proxy-suite-tray-enable)
- [autostart](#services-proxy-suite-tray-autostart)
- [pollInterval](#services-proxy-suite-tray-pollinterval)
- zapret
- [enable](#services-proxy-suite-zapret-enable)
- cidrExemption
- [enable](#services-proxy-suite-zapret-cidrexemption-enable)
- [cidrs](#services-proxy-suite-zapret-cidrexemption-cidrs)
- [configName](#services-proxy-suite-zapret-configname)
- [gameFilter](#services-proxy-suite-zapret-gamefilter)
- [hostlistRules](#services-proxy-suite-zapret-hostlistrules)
- item
- [enableDirectSync](#services-proxy-suite-zapret-hostlistrules-enabledirectsync)
- [domains](#services-proxy-suite-zapret-hostlistrules-domains)
- [name](#services-proxy-suite-zapret-hostlistrules-name)
- [nfqwsArgs](#services-proxy-suite-zapret-hostlistrules-nfqwsargs)
- [preset](#services-proxy-suite-zapret-hostlistrules-preset)
- [includeExtraUpstreamLists](#services-proxy-suite-zapret-includeextraupstreamlists)
- [ipsetAll](#services-proxy-suite-zapret-ipsetall)
- [ipsetExclude](#services-proxy-suite-zapret-ipsetexclude)
- [listExclude](#services-proxy-suite-zapret-listexclude)
- [listGeneral](#services-proxy-suite-zapret-listgeneral)
- [syncDirectRouting](#services-proxy-suite-zapret-syncdirectrouting)
- [syncDirectRoutingUpstreamIps](#services-proxy-suite-zapret-syncdirectroutingupstreamips)
- [syncDirectRoutingUserIps](#services-proxy-suite-zapret-syncdirectroutinguserips)
## Complete default config
```nix
services.proxy-suite = {
appRouting = {
backends = {
tproxy = {
enable = false;
fwmark = 17;
localSubnets = [
"192.168.0.0/16"
];
routeTable = 102;
};
tun = {
address = "172.20.0.1/30";
enable = false;
fwmark = 16;
interface = "psapptun0";
localSubnets = [
"192.168.0.0/16"
];
mtu = 1400;
routeTable = 101;
};
zapret = {
enable = false;
filterMark = 268435456;
qnum = 201;
};
};
createDefaultProfiles = false;
enable = false;
profiles = [ ];
proxychains = {
enable = false;
proxyDns = true;
quiet = true;
};
userControl = {
group = "proxy-suite";
};
};
enable = false;
singBox = {
clashApiPort = 9090;
dns = {
local = {
address = "1.1.1.1";
port = 53;
type = "udp";
};
remote = {
address = "1.1.1.1";
port = 53;
type = "udp";
};
};
enable = true;
fwmark = 1;
listenAddress = "127.0.0.1";
outbounds = [ ];
port = 1080;
proxyByDefault = true;
proxyMark = 2;
routeTable = 100;
routing = {
block = {
domains = [ ];
geoips = [ ];
geosites = [ ];
ips = [ ];
};
direct = {
domains = [ ];
geoips = [ ];
geosites = [ ];
ips = [ ];
};
enableRuDirect = true;
proxy = {
domains = [ ];
geoips = [ ];
geosites = [ ];
ips = [ ];
};
rules = [ ];
};
selection = "first";
subscriptionUpdateInterval = "1d";
subscriptions = [ ];
tproxy = {
autostart = false;
enable = false;
localSubnets = [
"192.168.0.0/16"
];
};
tproxyPort = 1081;
tun = {
address = "172.19.0.1/30";
autostart = false;
enable = false;
interface = "singtun0";
mtu = 1400;
};
urlTest = {
interval = "3m";
tolerance = 50;
url = "https://www.gstatic.com/generate_204";
};
};
tgWsProxy = {
dcIps = { };
enable = false;
host = "127.0.0.1";
port = 1076;
secret = null;
secretFile = null;
};
tray = {
autostart = true;
enable = false;
pollInterval = 5;
};
zapret = {
cidrExemption = {
cidrs = [ ];
enable = false;
};
configName = "general(ALT)";
enable = false;
gameFilter = "null";
hostlistRules = [ ];
includeExtraUpstreamLists = false;
ipsetAll = [ ];
ipsetExclude = [ ];
listExclude = [ ];
listGeneral = [ ];
syncDirectRouting = true;
syncDirectRoutingUpstreamIps = false;
syncDirectRoutingUserIps = true;
};
};
```
## Complete example config
This is generated by filling in all the options with example values (or defaults if no example is provided). This is not meant to be a recommended config, just a comprehensive example of how to set all the options.
```nix
services.proxy-suite = {
appRouting = {
backends = {
tproxy = {
enable = true;
fwmark = 17;
localSubnets = [
"192.168.0.0/16"
"10.0.0.0/8"
];
routeTable = 102;
};
tun = {
address = "172.20.0.1/30";
enable = true;
fwmark = 16;
interface = "psapptun0";
localSubnets = [
"192.168.0.0/16"
"10.0.0.0/8"
];
mtu = 1400;
routeTable = 101;
};
zapret = {
enable = true;
filterMark = 268435456;
qnum = 201;
};
};
createDefaultProfiles = true;
enable = true;
profiles = [
{
name = "steam-browser";
route = "proxychains";
}
{
name = "native-direct";
route = "direct";
}
];
proxychains = {
enable = true;
proxyDns = true;
quiet = true;
};
userControl = {
group = "proxy-suite";
};
};
enable = true;
singBox = {
clashApiPort = 9090;
dns = {
local = {
address = "9.9.9.9";
port = 53;
type = "tcp";
};
remote = {
address = "1.1.1.1";
port = 853;
type = "tls";
};
};
enable = true;
fwmark = 1;
listenAddress = "127.0.0.1";
outbounds = [
{
tag = "de-vps";
urlFile = "/run/secrets/proxy-de-url";
}
{
tag = "nl-vps";
url = "hy2://password@example.com:443?sni=example.com";
}
];
port = 1080;
proxyByDefault = true;
proxyMark = 2;
routeTable = 100;
routing = {
block = {
domains = [
"ads.example.com"
];
geoips = [
"cn"
];
geosites = [
"category-ads-all"
];
ips = [
"203.0.113.0/24"
];
};
direct = {
domains = [
"internal.example"
];
geoips = [
"ru"
];
geosites = [
"category-ru"
];
ips = [
"10.10.0.0/16"
];
};
enableRuDirect = true;
proxy = {
domains = [
"youtube.com"
"discord.com"
];
geoips = [
"us"
"de"
];
geosites = [
"netflix"
"google"
];
ips = [
"1.1.1.0/24"
];
};
rules = [
{
domains = [
"netflix.com"
];
geosites = [
"netflix"
];
outbound = "vps-de";
}
{
domains = [
"internal.corp"
];
outbound = "direct";
}
{
domains = [
"ads.example.com"
];
outbound = "block";
}
];
};
selection = "urltest";
subscriptionUpdateInterval = "6h";
subscriptions = [
{
tag = "community";
url = "https://example.com/sub/token";
}
{
tag = "private";
urlFile = "/run/secrets/private-sub-url";
}
];
tproxy = {
autostart = true;
enable = true;
localSubnets = [
"192.168.0.0/16"
"10.0.0.0/8"
];
};
tproxyPort = 1081;
tun = {
address = "172.19.0.1/30";
autostart = true;
enable = true;
interface = "singtun0";
mtu = 1400;
};
urlTest = {
interval = "1m";
tolerance = 100;
url = "https://telegram.org";
};
};
tgWsProxy = {
dcIps = {
"2" = "149.154.167.220";
"203" = "149.154.167.220";
"4" = "149.154.167.220";
};
enable = true;
host = "127.0.0.1";
port = 1076;
secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
secretFile = "/run/secrets/tg-ws-proxy-secret";
};
tray = {
autostart = true;
enable = true;
pollInterval = 5;
};
zapret = {
cidrExemption = {
cidrs = [
"192.168.123.0/24"
"10.0.0.0/8"
];
enable = true;
};
configName = "general(ALT)";
enable = true;
gameFilter = "null";
hostlistRules = [
{
domains = [
"googlevideo.com"
"ggpht.com"
];
name = "googlevideo";
preset = "google";
}
{
domains = [
"example.com"
"example.de"
];
name = "example";
nfqwsArgs = [
"--filter-tcp=443 --dpi-desync=fake,multisplit"
];
preset = "general";
}
];
includeExtraUpstreamLists = false;
ipsetAll = [
"203.0.113.0/24"
];
ipsetExclude = [
"203.0.113.10/32"
];
listExclude = [
"music.youtube.com"
];
listGeneral = [
"youtube.com"
];
syncDirectRouting = true;
syncDirectRoutingUpstreamIps = false;
syncDirectRoutingUserIps = true;
};
};
```
## services\.proxy-suite\.enable
Whether to enable proxy suite (sing-box + zapret + tg-ws-proxy)\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.enable
Whether to enable per-app routing helpers via proxy-ctl wrap\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tproxy\.enable
Whether to enable app-scoped TProxy backend for appRouting profiles\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tproxy\.fwmark
Packet mark used to steer wrapped app traffic into the app-routing
TProxy policy-routing table\.
*Type:*
signed integer
*Default:*
```nix
17
```
*Example:*
```nix
17
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tproxy\.localSubnets
Destination subnets that should bypass app-routing TProxy
interception, except DNS traffic on port 53\.
*Type:*
list of string
*Default:*
```nix
[
"192.168.0.0/16"
]
```
*Example:*
```nix
[
"192.168.0.0/16"
"10.0.0.0/8"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tproxy\.routeTable
Policy-routing table used by the app-routing TProxy backend\.
*Type:*
signed integer
*Default:*
```nix
102
```
*Example:*
```nix
102
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.enable
Whether to enable app-scoped TUN backend for appRouting profiles\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.address
Address assigned to the app-routing TUN interface in CIDR
notation\.
*Type:*
string
*Default:*
```nix
"172.20.0.1/30"
```
*Example:*
```nix
"172.20.0.1/30"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.fwmark
Packet mark used to steer wrapped app traffic into the app-routing
TUN policy-routing table\.
*Type:*
signed integer
*Default:*
```nix
16
```
*Example:*
```nix
16
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.interface
Name of the dedicated app-routing TUN interface used by
proxy-suite-app-tun\.
*Type:*
string
*Default:*
```nix
"psapptun0"
```
*Example:*
```nix
"psapptun0"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.localSubnets
Destination subnets that should bypass the app-routing TUN mark,
so wrapped apps can still reach local LAN resources directly\.
*Type:*
list of string
*Default:*
```nix
[
"192.168.0.0/16"
]
```
*Example:*
```nix
[
"192.168.0.0/16"
"10.0.0.0/8"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.mtu
MTU for the app-routing TUN interface\.
*Type:*
signed integer
*Default:*
```nix
1400
```
*Example:*
```nix
1400
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.tun\.routeTable
Policy-routing table used by the app-routing TUN backend\.
*Type:*
signed integer
*Default:*
```nix
101
```
*Example:*
```nix
101
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.zapret\.enable
Whether to enable app-scoped zapret backend for appRouting profiles\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.zapret\.filterMark
Packet mark bit used to mark wrapped app traffic for the
dedicated app-scoped zapret instance\.
*Type:*
signed integer
*Default:*
```nix
268435456
```
*Example:*
```nix
268435456
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.backends\.zapret\.qnum
NFQUEUE number used by the dedicated app-scoped zapret instance\.
This backend runs as a second zapret daemon and should use a
queue distinct from the global zapret instance\.
*Type:*
signed integer
*Default:*
```nix
201
```
*Example:*
```nix
201
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.createDefaultProfiles
Whether to automatically add curated appRouting profiles\.
This is opt-in\. Generated defaults are appended only when no
user-defined profile with the same name already exists\.
Current curated defaults:
- ` proxychains `: route = “proxychains”
- ` tun `: route = “tun” when appRouting\.backends\.tun\.enable = true
- ` tproxy `: route = “tproxy” when appRouting\.backends\.tproxy\.enable = true
- ` zapret `: route = “zapret” when appRouting\.backends\.zapret\.enable = true
and zapret\.enable = true
This makes ` proxy-ctl wrap proxychains -- ` available
without defining the profile manually, and similarly exposes
` proxy-ctl wrap tun -- ` or
` proxy-ctl wrap tproxy -- ` or
` proxy-ctl wrap zapret -- ` when the corresponding backend
is enabled\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.profiles
Named per-app route profiles consumed by ` proxy-ctl wrap `\.
This initial implementation supports:
- “direct” for running a command unchanged
- “proxychains” for TCP apps that can use an LD_PRELOAD wrapper
instead of global TUN or TProxy interception
- “tun” for app-scoped policy routing into the dedicated app TUN
backend
- “tproxy” for app-scoped transparent interception through the
dedicated app TProxy backend
- “zapret” for app-scoped zapret handling through a separate
zapret instance without changing the app’s network path or exit IP
proxychains-based wrapping depends on the local proxy-suite mixed
proxy listener provided by sing-box\. The “tun” route depends on
appRouting\.backends\.tun\.enable = true\. The “tproxy” route depends on
appRouting\.backends\.tproxy\.enable = true\. The “zapret” route depends
on appRouting\.backends\.zapret\.enable = true and zapret\.enable = true\.
When createDefaultProfiles = true, curated defaults are added on top
of this list unless a user-defined profile already uses the same
name\.
*Type:*
list of (submodule)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
{
name = "steam-browser";
route = "proxychains";
}
{
name = "native-direct";
route = "direct";
}
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.profiles\.\*\.name
Profile name used by ` proxy-ctl wrap -- `\.
Must be unique within appRouting\.profiles\.
*Type:*
string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$
*Example:*
```nix
"steam-browser"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.profiles\.\*\.route
Per-app route backend used by proxy-ctl wrap\.
- “direct”: run the command unchanged\.
- “proxychains”: run the command through proxychains-ng using the
local proxy-suite mixed SOCKS endpoint\.
- “tun”: launch the command in the dedicated app-routing TUN slice so
only that app’s traffic is policy-routed into the app TUN backend\.
- “tproxy”: launch the command in the dedicated app-routing TProxy
slice so only that app’s traffic is transparently intercepted by
the local sing-box TProxy inbound\.
- “zapret”: launch the command in the dedicated app-routing zapret
slice so only that app’s traffic is handled by the separate
app-scoped zapret instance\.
Additional route backends may be added in the future\.
*Type:*
one of “direct”, “proxychains”, “tun”, “tproxy”, “zapret”
*Default:*
```nix
"proxychains"
```
*Example:*
```nix
"proxychains"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.proxychains\.enable
Whether to enable proxychains-backed appRouting profiles\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.proxychains\.proxyDns
Whether generated proxychains wrappers should resolve DNS through
the proxy instead of the local resolver\. This maps to proxychains-ng
proxy_dns\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.proxychains\.quiet
Whether generated proxychains wrappers should suppress their normal
startup chatter\. This maps to proxychains-ng quiet_mode\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.appRouting\.userControl\.group
Local group allowed to start and stop app-routing backend units via
polkit\. Add desktop users who should be able to run
` proxy-ctl wrap ... ` for route = “tun”, route = “tproxy”, or
route = “zapret” profiles to this group\.
*Type:*
string matching the pattern ^\[a-z_]\[a-z0-9_-]\*$
*Default:*
```nix
"proxy-suite"
```
*Example:*
```nix
"proxy-suite"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.enable
Whether to configure and run sing-box services for proxy-suite\.
When disabled, singBox\.\* options are ignored even if proxy-suite itself
is enabled\.
*Type:*
boolean
*Default:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.clashApiPort
Port for the Clash-compatible REST API exposed by sing-box\.
Only used when selection is “selector” or “urltest”\. Ignored in
“first” mode because there is no selector-style outbound to control\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
9090
```
*Example:*
```nix
9090
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.local
DNS upstream used for the built-in “local” resolver role\.
This resolver is also used as sing-box route\.default_domain_resolver\.
The module keeps detour policy automatic: in mixed/TProxy mode and
app-routing TUN mode, “local” stays on the direct path (without an
explicit detour); in global TUN mode, it is forced through the proxy to avoid
auto_redirect conflicts\.
*Type:*
submodule
*Default:*
```nix
{
address = "1.1.1.1";
port = 53;
type = "udp";
}
```
*Example:*
```nix
{
address = "9.9.9.9";
port = 53;
type = "tcp";
}
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.local\.address
Resolver address or hostname used for this DNS upstream\.
*Type:*
string matching the pattern \.+
*Example:*
```nix
"1.1.1.1"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.local\.port
Destination port for this DNS upstream\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
53
```
*Example:*
```nix
853
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.local\.type
sing-box DNS transport type for this upstream resolver\.
*Type:*
one of “udp”, “tcp”, “tls”
*Default:*
```nix
"udp"
```
*Example:*
```nix
"tls"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.remote
DNS upstream used for the built-in “remote” resolver role\.
This resolver always detours through the proxy and becomes the
generated dns\.final target when singBox\.proxyByDefault = true\.
*Type:*
submodule
*Default:*
```nix
{
address = "1.1.1.1";
port = 53;
type = "udp";
}
```
*Example:*
```nix
{
address = "1.1.1.1";
port = 853;
type = "tls";
}
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.remote\.address
Resolver address or hostname used for this DNS upstream\.
*Type:*
string matching the pattern \.+
*Example:*
```nix
"1.1.1.1"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.remote\.port
Destination port for this DNS upstream\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
53
```
*Example:*
```nix
853
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.dns\.remote\.type
sing-box DNS transport type for this upstream resolver\.
*Type:*
one of “udp”, “tcp”, “tls”
*Default:*
```nix
"udp"
```
*Example:*
```nix
"tls"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.fwmark
Netfilter mark set on packets intercepted by TProxy so policy routing
can send them to the local loopback route table\.
Only relevant when singBox\.tproxy\.enable = true\.
*Type:*
signed integer
*Default:*
```nix
1
```
*Example:*
```nix
1
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.listenAddress
Address for the SOCKS5/HTTP mixed inbound to bind to\.
This affects the always-on proxy-suite-socks service\.
Use “0\.0\.0\.0” only if you intentionally want to expose the proxy to
other machines on your network\.
*Type:*
string
*Default:*
```nix
"127.0.0.1"
```
*Example:*
```nix
"127.0.0.1"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds
List of static proxy outbounds\.
Set exactly one of urlFile, url, or json per entry\.
At least one outbound or one subscription is required when
singBox\.enable = true\.
*Type:*
list of (submodule)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
{
tag = "de-vps";
urlFile = "/run/secrets/proxy-de-url";
}
{
tag = "nl-vps";
url = "hy2://password@example.com:443?sni=example.com";
}
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.json
Raw sing-box outbound configuration as a Nix attribute set\.
Embedded directly into the config at build time\. The tag field
is overridden by the outbound’s tag option\.
Set exactly one of urlFile, url, or json for each outbound\.
Use this when the proxy definition is easier to generate as native Nix
than as a single URL string\.
*Type:*
null or (attribute set)
*Default:*
```nix
null
```
*Example:*
```nix
{
server = "example.com";
server_port = 443;
type = "vless";
uuid = "...";
}
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.routing\.domains
Domain suffixes to match in this routing rule\.
Leave empty to skip domain-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"youtube.com"
"discord.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.routing\.geoips
sing-geoip rule-set names to match in this routing rule\.
Each name becomes a sing-box geoip rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"us"
"de"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.routing\.geosites
sing-geosite rule-set names to match in this routing rule\.
Each name becomes a sing-box geosite rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"netflix"
"google"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.routing\.ips
IP CIDRs to match in this routing rule\.
Leave empty to skip IP-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"1.1.1.0/24"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.tag
Outbound tag used in routing rules and multi-outbound selection\.
With selection = “selector” or “urltest”, each outbound keeps its own
tag and can be selected directly\. With selection = “first”, sing-box
routes through a single active outbound tagged “proxy”, so individual
proxy tags are mainly useful for documentation and config structure\.
*Type:*
string
*Example:*
```nix
"vps-de"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.url
Literal proxy URL\. Convenient for non-secret configs, but the URL
will end up in the Nix store\.
Set exactly one of urlFile, url, or json for each outbound\.
Prefer urlFile for real credentials\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"hy2://password@example.com:443?sni=example.com"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.outbounds\.\*\.urlFile
Runtime path to a file containing the proxy URL\.
Intended for use with secret managers (sops-nix, agenix, etc\.)\.
The file is read at service start time and never lands in the Nix store\.
Set exactly one of urlFile, url, or json for each outbound\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"/run/secrets/my-proxy-url"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.port
Listen port for the always-on SOCKS5/HTTP mixed inbound provided by
proxy-suite-socks\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
1080
```
*Example:*
```nix
1080
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.proxyByDefault
Whether traffic that does not match any explicit routing rule should
go through the proxy or go direct\.
This affects sing-box route\.final and dns\.final in the generated
config\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.proxyMark
Netfilter mark set on sing-box’s own outbound packets so they bypass
TProxy re-interception loops\.
Only relevant when singBox\.tproxy\.enable = true\.
*Type:*
signed integer
*Default:*
```nix
2
```
*Example:*
```nix
2
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routeTable
Policy routing table used to redirect TProxy-marked packets to the
loopback interface\.
Only relevant when singBox\.tproxy\.enable = true\.
*Type:*
signed integer
*Default:*
```nix
100
```
*Example:*
```nix
100
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.enableRuDirect
Automatically append “category-ru” to routing\.direct\.geosites and
“ru” to routing\.direct\.geoips\.
This is additive: user-defined routing\.direct\.\* entries still apply\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.block\.domains
Domain suffixes to block entirely\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"ads.example.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.block\.geoips
sing-geoip names to block\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"cn"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.block\.geosites
sing-geosite names to block\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"category-ads-all"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.block\.ips
IP CIDRs to block\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"203.0.113.0/24"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.direct\.domains
Domain suffixes to send direct (bypass proxy)\.
Merged with zapret-synced direct domains when zapret direct sync
options are enabled\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"internal.example"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.direct\.geoips
sing-geoip names to send direct\.
“ru” is added automatically when enableRuDirect = true\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"ru"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.direct\.geosites
sing-geosite names to send direct\.
“category-ru” is added automatically when enableRuDirect = true\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"category-ru"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.direct\.ips
IP CIDRs to send direct\.
Merged with zapret-synced direct IPs when the corresponding zapret
sync options are enabled\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"10.10.0.0/16"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.proxy\.domains
Domain suffixes to match in this routing rule\.
Leave empty to skip domain-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"youtube.com"
"discord.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.proxy\.geoips
sing-geoip rule-set names to match in this routing rule\.
Each name becomes a sing-box geoip rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"us"
"de"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.proxy\.geosites
sing-geosite rule-set names to match in this routing rule\.
Each name becomes a sing-box geosite rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"netflix"
"google"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.proxy\.ips
IP CIDRs to match in this routing rule\.
Leave empty to skip IP-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"1.1.1.0/24"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules
Explicit routing rules evaluated before global proxy/direct/block lists\.
Each rule routes matching traffic to a specific outbound tag\.
The outbound can be a configured outbound tag (useful with selector/urltest),
or one of: “proxy” (active proxy), “direct”, “block”\.
Order is preserved\. The first matching rule wins in sing-box\.
With selection = “first”, non-built-in outbound tags are effectively
routed to the single active “proxy” outbound\.
*Type:*
list of (submodule)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
{
domains = [
"netflix.com"
];
geosites = [
"netflix"
];
outbound = "vps-de";
}
{
domains = [
"internal.corp"
];
outbound = "direct";
}
{
domains = [
"ads.example.com"
];
outbound = "block";
}
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules\.\*\.domains
Domain suffixes to match in this routing rule\.
Leave empty to skip domain-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"youtube.com"
"discord.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules\.\*\.geoips
sing-geoip rule-set names to match in this routing rule\.
Each name becomes a sing-box geoip rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"us"
"de"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules\.\*\.geosites
sing-geosite rule-set names to match in this routing rule\.
Each name becomes a sing-box geosite rule-set reference\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"netflix"
"google"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules\.\*\.ips
IP CIDRs to match in this routing rule\.
Leave empty to skip IP-based matching for this rule entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"1.1.1.0/24"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.routing\.rules\.\*\.outbound
Target outbound tag\. Can be a specific server tag (only useful with
selection = “selector” or “urltest”), or one of the built-in tags:
“proxy” (the active proxy outbound), “direct”, “block”\.
With selection = “first”, named proxy outbounds are collapsed into the
single active “proxy” outbound at runtime, so per-tag routing no longer
distinguishes between individual proxy servers\.
*Type:*
string
*Example:*
```nix
"vps-de"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.selection
How to pick between multiple proxy outbounds:
- “first”: route through a single active outbound tagged “proxy”\.
The first static outbound is used, or the first subscription
outbound if only subscriptions are configured\.
- “selector”: create a Clash-compatible selector outbound tagged
“proxy” and keep all configured outbounds available for manual
switching via the Clash API\.
- “urltest”: create an automatic latency-testing outbound tagged
“proxy” and keep all configured outbounds available so sing-box
can periodically probe and switch to a faster one\.
clashApiPort is only used with “selector” or “urltest”\.
urlTest\.\* options are only used with “urltest”\.
Per-outbound tags are only individually meaningful with “selector”
or “urltest”\.
*Type:*
one of “first”, “selector”, “urltest”
*Default:*
```nix
"first"
```
*Example:*
```nix
"urltest"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.subscriptionUpdateInterval
How often the proxy-suite-subscription-update timer fires and refreshes
all subscription caches\. Accepts any systemd time span string
(e\.g\. “1h”, “6h”, “1d”, “12h”)\.
Only used when singBox\.subscriptions is non-empty\. The timer also runs
once shortly after boot\.
*Type:*
string
*Default:*
```nix
"1d"
```
*Example:*
```nix
"6h"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.subscriptions
Subscription URLs that provide dynamic lists of proxy outbounds\.
Each URL must return a base64-encoded newline-separated list of proxy URIs
(standard v2rayN / Clash subscription format) or plain text of the same\.
On first service start, each subscription is fetched live and cached
under /var/lib/proxy-suite/subscriptions/\\.json\. Later restarts
reuse the cache, so ordinary service restarts do not need network access\.
A systemd timer (proxy-suite-subscription-update) refreshes all caches on
the interval set by subscriptionUpdateInterval and restarts the running
sing-box services after a successful refresh\.
*Type:*
list of (submodule)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
{
tag = "community";
url = "https://example.com/sub/token";
}
{
tag = "private";
urlFile = "/run/secrets/private-sub-url";
}
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.subscriptions\.\*\.tag
Unique identifier for this subscription\.
Used as a prefix for all outbound tags generated from its proxy list,
e\.g\. “my-sub” -> tags like “my-sub-Server-DE”\.
*Type:*
string
*Example:*
```nix
"community-list"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.subscriptions\.\*\.url
Literal subscription URL\. The response must be a base64-encoded
newline-separated list of proxy URIs (standard v2rayN format) or
a plain-text list of the same\.
This value is embedded in the Nix store\. Prefer urlFile for private
subscription links or tokens\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"https://example.com/sub/token123"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.subscriptions\.\*\.urlFile
Runtime path to a file containing the subscription URL\.
Intended for use with secret managers (sops-nix, agenix, etc\.)\.
The file is read at service start time and never lands in the Nix store\.
Set exactly one of urlFile or url for each subscription entry\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"/run/secrets/proxy-subscription-url"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tproxy\.enable
Whether to enable TProxy mode service (opt-in, transparent proxy via nftables)\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tproxy\.autostart
Whether to start proxy-suite-tproxy automatically during boot by
attaching it to multi-user\.target\.
Only relevant when singBox\.tproxy\.enable = true\.
Cannot be enabled together with singBox\.tun\.autostart\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tproxy\.localSubnets
Subnets whose traffic bypasses TProxy interception, except DNS (port 53)\.
Only relevant when singBox\.tproxy\.enable = true\.
Typically this should include your LAN subnet(s)\. VM bridge networks
should usually go here too, or use zapret\.cidrExemption for
subnet-specific NFQUEUE exemption on the zapret side\.
*Type:*
list of string
*Default:*
```nix
[
"192.168.0.0/16"
]
```
*Example:*
```nix
[
"192.168.0.0/16"
"10.0.0.0/8"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tproxyPort
Listen port for the local sing-box TProxy inbound\.
Only relevant when singBox\.tproxy\.enable = true\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
1081
```
*Example:*
```nix
1081
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tun\.enable
Whether to enable TUN mode service (opt-in, mutually exclusive with proxy-suite-tproxy)\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tun\.address
Address assigned to the TUN interface in CIDR notation\.
Only relevant when singBox\.tun\.enable = true\.
*Type:*
string
*Default:*
```nix
"172.19.0.1/30"
```
*Example:*
```nix
"172.19.0.1/30"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tun\.autostart
Whether to start proxy-suite-tun automatically during boot by
attaching it to multi-user\.target\.
Only relevant when singBox\.tun\.enable = true\.
Cannot be enabled together with singBox\.tproxy\.autostart\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tun\.interface
Name of the TUN interface created by proxy-suite-tun\.
Only relevant when singBox\.tun\.enable = true\.
*Type:*
string
*Default:*
```nix
"singtun0"
```
*Example:*
```nix
"singtun0"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.tun\.mtu
MTU for the TUN interface created by proxy-suite-tun\.
Only relevant when singBox\.tun\.enable = true\.
*Type:*
signed integer
*Default:*
```nix
1400
```
*Example:*
```nix
1400
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.urlTest\.interval
How often sing-box re-tests all outbounds\. Accepts a Go duration
string (e\.g\. “1m”, “3m”, “10m”)\.
Only used when selection = “urltest”\.
*Type:*
string
*Default:*
```nix
"3m"
```
*Example:*
```nix
"1m"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.urlTest\.tolerance
Latency tolerance in milliseconds\. The current proxy is only replaced
when a competing one is faster by more than this value\.
Only used when selection = “urltest”\.
*Type:*
signed integer
*Default:*
```nix
50
```
*Example:*
```nix
100
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.singBox\.urlTest\.url
URL that sing-box fetches through each proxy to measure latency\.
Only used when selection = “urltest”\.
Set this to a URL that is actually blocked in your region (e\.g\.
“https://telegram\.org”) so that only proxies that bypass the
blocking get selected\. If left at the default, any responding proxy
wins – including ones that might not unblock your target site\.
*Type:*
string
*Default:*
```nix
"https://www.gstatic.com/generate_204"
```
*Example:*
```nix
"https://telegram.org"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.enable
Whether to enable Telegram MTProto WebSocket proxy\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.dcIps
Map of Telegram DC ID to IP address for relay\.
Only relevant when tgWsProxy\.enable = true\.
*Type:*
attribute set of string
*Default:*
```nix
{ }
```
*Example:*
```nix
{
"2" = "149.154.167.220";
"203" = "149.154.167.220";
"4" = "149.154.167.220";
}
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.host
Address to bind tg-ws-proxy to\.
Only relevant when tgWsProxy\.enable = true\.
*Type:*
string
*Default:*
```nix
"127.0.0.1"
```
*Example:*
```nix
"127.0.0.1"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.port
Listen port for the tg-ws-proxy service\.
Only relevant when tgWsProxy\.enable = true\.
*Type:*
16 bit unsigned integer; between 0 and 65535 (both inclusive)
*Default:*
```nix
1076
```
*Example:*
```nix
1076
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.secret
MTProto proxy secret (hex string)\. Legacy inline form; this value ends up
in the Nix store\. Prefer secretFile for real deployments\.
Set exactly one of secret or secretFile when tgWsProxy\.enable = true\.
Generate one with: openssl rand -hex 16
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tgWsProxy\.secretFile
Runtime path to a file containing the MTProto proxy secret\.
Intended for use with secret managers so the secret stays out of the Nix store\.
Set exactly one of secretFile or secret when tgWsProxy\.enable = true\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"/run/secrets/tg-ws-proxy-secret"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tray\.enable
Whether to enable system tray indicator for proxy-suite\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tray\.autostart
Whether to install an XDG autostart entry for the tray application for
graphical users\.
Only relevant when tray\.enable = true\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.tray\.pollInterval
Status polling interval in seconds for the tray application\.
Only relevant when tray\.enable = true\.
*Type:*
signed integer
*Default:*
```nix
5
```
*Example:*
```nix
5
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.enable
Whether to enable zapret DPI bypass\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.cidrExemption\.enable
Whether to enable CIDR exemption from zapret NFQUEUE\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.cidrExemption\.cidrs
Subnets to exempt from zapret’s NFQUEUE mangle rules\.
Only relevant when zapret\.enable = true and cidrExemption\.enable = true\.
Useful when a VM (libvirt, etc\.) is behind NAT and zapret
would corrupt its traffic through the host’s nftables\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"192.168.123.0/24"
"10.0.0.0/8"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.configName
zapret strategy preset name passed through to the generated zapret
configuration\.
Only relevant when zapret\.enable = true\.
*Type:*
string
*Default:*
```nix
"general(ALT)"
```
*Example:*
```nix
"general(ALT)"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.gameFilter
zapret game traffic filter mode: “all”, “tcp”, “udp”, or “null” to disable\.
Only relevant when zapret\.enable = true\.
*Type:*
string
*Default:*
```nix
"null"
```
*Example:*
```nix
"null"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules
Additional named zapret hostlists with per-list DPI mitigation rules\.
Each entry generates hostlists/list-\\.txt and can clone a built-in
zapret family, add custom NFQWS rule fragments, or both\.
Each entry must define at least one domain and at least one of preset
or nfqwsArgs\.
*Type:*
list of (submodule)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
{
domains = [
"googlevideo.com"
"ggpht.com"
];
name = "googlevideo";
preset = "google";
}
{
domains = [
"example.com"
"example.de"
];
name = "example";
nfqwsArgs = [
"--filter-tcp=443 --dpi-desync=fake,multisplit"
];
preset = "general";
}
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules\.\*\.enableDirectSync
Whether this custom hostlist should also be mirrored into sing-box
direct domain routing when zapret\.syncDirectRouting = true\.
*Type:*
boolean
*Default:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules\.\*\.domains
Domains written into the generated custom zapret hostlist file\.
Must be non-empty for every hostlistRules entry\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"example.com"
"example.de"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules\.\*\.name
Custom hostlist name\. Used to generate hostlists/list-\\.txt
inside the derived zapret config directory\.
*Type:*
string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$
*Example:*
```nix
"cloudflare"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules\.\*\.nfqwsArgs
Additional NFQWS argument fragments for this hostlist\.
The module injects --hostlist=… and trailing --new automatically\.
Each hostlistRules entry must define preset, nfqwsArgs, or both\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"--filter-tcp=443 --dpi-desync=fake,multisplit"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.hostlistRules\.\*\.preset
Clone the active zapret config’s built-in NFQWS rule family for this
hostlist\. Can be combined with nfqwsArgs for additional custom rules\.
*Type:*
null or one of “general”, “google”, “instagram”, “soundcloud”, “twitter”
*Default:*
```nix
null
```
*Example:*
```nix
"google"
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.includeExtraUpstreamLists
Automatically activate upstream list-instagram\.txt, list-soundcloud\.txt,
and list-twitter\.txt in the generated zapret config when the selected
upstream preset does not already reference them\.
When syncDirectRouting = true, domains from these extra lists are also
mirrored into sing-box direct routing\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
false
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.ipsetAll
Extra IPs/CIDRs to add to zapret’s ipset\.
Mirrored into sing-box direct IP routing when
syncDirectRoutingUserIps = true\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"203.0.113.0/24"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.ipsetExclude
IPs/CIDRs to exclude from zapret’s ipset\.
Also excluded from zapret-derived sing-box direct IP routing when
syncDirectRoutingUserIps = true\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"203.0.113.10/32"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.listExclude
Domains to exclude from zapret interception\.
When syncDirectRouting = true, these exclusions also remove matching
domains from the zapret-derived sing-box direct-routing set\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"music.youtube.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.listGeneral
Extra domains to include in zapret’s interception list\.
When syncDirectRouting = true, these domains are also mirrored into
sing-box direct routing\.
*Type:*
list of string
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"youtube.com"
]
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.syncDirectRouting
When zapret\.enable = true, mirror zapret’s upstream domain hostlists
into sing-box direct domain routing\.
This includes the default zapret domain lists and any custom
hostlistRules entries with enableDirectSync = true\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.syncDirectRoutingUpstreamIps
When zapret\.enable = true, mirror zapret’s upstream ipset ranges
(such as ipset-all\.txt minus exclusions) into sing-box direct IP routing\.
*Type:*
boolean
*Default:*
```nix
false
```
*Example:*
```nix
false
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)
## services\.proxy-suite\.zapret\.syncDirectRoutingUserIps
When zapret\.enable = true, mirror user-defined zapret\.ipsetAll and
zapret\.ipsetExclude entries into sing-box direct IP routing\.
*Type:*
boolean
*Default:*
```nix
true
```
*Example:*
```nix
true
```
*Declared by:*
- [modules/proxy-suite/options\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options.nix)