feat: allow using suite on non-nixos systems

This commit is contained in:
FUFSoB committed 2026-09-17 13:27:08 +05:00
1 parent e852bef400
commit 3b568bb54e
63 files changed
+3572 -523

No files matched your search

@@ -212,10 +212,12 @@ let
});
in
{
# The local proxy, ready for TProxy. A rootless host can neither take transparent
# connections nor mark sockets: there it is the SOCKS/HTTP listener alone.
tproxy = mkConfig {
enableMixed = true;
enableTProxy = true;
useOutboundRoutingMark = true;
enableTProxy = constants.privileged;
useOutboundRoutingMark = constants.privileged;
xrayDnsBridgePort = xrayDnsBridgePorts.socks;
};
@@ -264,10 +264,11 @@ in
# shape out of the same backend primitives.
inherit mkDnsServer;
# As sing-box's: without TProxy and marks on a rootless host.
tproxy = mkConfig {
enableMixed = true;
enableTProxy = true;
useOutboundRoutingMark = true;
enableTProxy = constants.privileged;
useOutboundRoutingMark = constants.privileged;
};
tun = mkConfig {