From d43f4dc991a3907621eb8e7b57274a1870d070a1 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 22 Oct 2024 12:57:32 +0200 Subject: [PATCH] dns over tor: cleanup --- modules/dns.nix | 1 - modules/tor.nix | 4 ---- 2 files changed, 5 deletions(-) diff --git a/modules/dns.nix b/modules/dns.nix index 5796d53..bf9fec7 100644 --- a/modules/dns.nix +++ b/modules/dns.nix @@ -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. diff --git a/modules/tor.nix b/modules/tor.nix index d5e02c2..3d3311e 100644 --- a/modules/tor.nix +++ b/modules/tor.nix @@ -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; }; }; };