feat: tor keep awake

This commit is contained in:
fufsob committed 2026-10-12 03:24:23 +00:00
1 parent 7d96e7c6f8
commit 2be98214ed
5 files changed
+33

No files matched your search

+1
View File
@@ -359,6 +359,7 @@ services.proxy-suite = {
clientOnly = true;
enable = false;
extraConfig = "";
keepAwake = false;
lyrebirdPackage = pkgs.lyrebird;
onionService = {
enable = false;
+12
View File
@@ -15,6 +15,7 @@ Part of the [proxy-suite options reference](./index.md).
- [lines](#services-proxy-suite-tor-bridges-lines)
- [clientOnly](#services-proxy-suite-tor-clientonly)
- [extraConfig](#services-proxy-suite-tor-extraconfig)
- [keepAwake](#services-proxy-suite-tor-keepawake)
- [lyrebirdPackage](#services-proxy-suite-tor-lyrebirdpackage)
- onionService
- [enable](#services-proxy-suite-tor-onionservice-enable)
@@ -101,6 +102,17 @@ Extra torrc lines\.
''
```
<a id="services-proxy-suite-tor-keepawake"></a>
## services\.proxy-suite\.tor\.keepAwake
Never let Tor go dormant\. By default it does after a day without use, and from then on
only rebuilds its circuits when the next connection comes: the first \.onion after a quiet
spell may wait long enough to fail\. Turn on where clients expect \.onion at once, as on a
server whose inbounds route it\. A dormant Tor also starts dormant again; this wakes it\.
**Type:** boolean\
**Default:** `false`
<a id="services-proxy-suite-tor-lyrebirdpackage"></a>
## services\.proxy-suite\.tor\.lyrebirdPackage