mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-24 02:46:06 +01:00
dns over tor: cleanup
This commit is contained in:
parent
5784cb9060
commit
d43f4dc991
@ -227,7 +227,6 @@
|
||||
# Solution: Proxy dnscrypt-proxy through Tor
|
||||
# - Currently, we have this enabled.
|
||||
# - The latency of DNS queries is higher than without Tor - at about 130ms.
|
||||
|
||||
if config.services.tor.torsocks.enable
|
||||
then {
|
||||
# Route all TCP connections to a local Tor node.
|
||||
|
@ -9,15 +9,11 @@
|
||||
services = {
|
||||
tor = {
|
||||
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.
|
||||
torsocks.enable = true;
|
||||
client = {
|
||||
# Enable the Tor client.
|
||||
enable = true;
|
||||
# Enable DNS resolver.
|
||||
dns.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user