dns over tor: cleanup

This commit is contained in:
Daniel Langbein 2024-10-22 12:57:32 +02:00
parent 5784cb9060
commit d43f4dc991
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 0 additions and 5 deletions

View File

@ -227,7 +227,6 @@
# Solution: Proxy dnscrypt-proxy through Tor # Solution: Proxy dnscrypt-proxy through Tor
# - Currently, we have this enabled. # - Currently, we have this enabled.
# - The latency of DNS queries is higher than without Tor - at about 130ms. # - The latency of DNS queries is higher than without Tor - at about 130ms.
if config.services.tor.torsocks.enable if config.services.tor.torsocks.enable
then { then {
# Route all TCP connections to a local Tor node. # Route all TCP connections to a local Tor node.

View File

@ -9,15 +9,11 @@
services = { services = {
tor = { tor = {
enable = true; enable = true;
# Disable GeoIP to prevent the Tor client from estimating the locations of Tor nodes it connects to.
#enableGeoIP = false;
# Enable Torsocks for transparent proxying of applications through Tor. # Enable Torsocks for transparent proxying of applications through Tor.
torsocks.enable = true; torsocks.enable = true;
client = { client = {
# Enable the Tor client. # Enable the Tor client.
enable = true; enable = true;
# Enable DNS resolver.
dns.enable = true;
}; };
}; };
}; };