feat: tor support

This commit is contained in:
FUFSoB committed 2026-09-17 20:12:17 +05:00
1 parent 97332c1774
commit 321e9ca468
42 files changed
+1853 -69

No files matched your search

+22
View File
@@ -14,6 +14,7 @@ Update the module option docs there instead of editing these files by hand.
- [proxy](./proxy.md)
- [sshProxy](./sshProxy.md)
- [tgWsProxy](./tgWsProxy.md)
- [tor](./tor.md)
- [tui](./tui.md)
- [userControl](./userControl.md)
- [warp](./warp.md)
@@ -256,6 +257,27 @@ services.proxy-suite = {
secret = null;
secretFile = null;
};
tor = {
asOutbound = false;
bridges = {
file = null;
lines = [ ];
};
clientOnly = true;
enable = false;
extraConfig = "";
lyrebirdPackage = pkgs.lyrebird;
onionService = {
enable = false;
listeners = null;
secretKeyFile = null;
};
package = pkgs.tor;
routeOnion = true;
snowflakePackage = pkgs.snowflake;
socksPort = 18530;
upstream = "direct";
};
tui = {
enable = true;
};