diff options
| author | adikro <adikro@disroot.org> | 2025-11-29 11:18:36 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-11-29 11:18:36 +0100 |
| commit | c5ec6f14ed7b949c30d1cdf0fb7b1da518038bb7 (patch) | |
| tree | 57bc6fc1a2d935a48e9774a53c4ea8f6a41f4934 /modules/tor.nix | |
| parent | 7ee48cb34c79dfd1676ac5490cc94f771357e72c (diff) | |
some stuff
Diffstat (limited to 'modules/tor.nix')
| -rw-r--r-- | modules/tor.nix | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/modules/tor.nix b/modules/tor.nix index 548da38..ad69f52 100644 --- a/modules/tor.nix +++ b/modules/tor.nix @@ -1,34 +1,41 @@ { pkgs, ... }: - { + networking.proxy.default = "https://127.0.0.1:8118"; services = { tor = { enable = true; - - client = { - enable = true; - dns.enable = true; - }; + # openFirewall = true; + torsocks.enable = true; + # torsocks.allowInbound = true; + client.enable = true; + # client = { + # enable = true; + # dns.enable = true; + # }; - settings.DNSPort = [{ - addr = "127.0.0.1"; - port = 53; - }]; + # settings.DNSPort = [{ + # addr = "127.0.0.1"; + # port = 53; + # }]; - torsocks.enable = true; + # torsocks.enable = true; + }; + privoxy = { + enable = true; + enableTor = true; }; - -# resolved = { -# enable = true; -# fallbackDns = [ "127.0.0.1:9053" ]; -# }; }; environment.systemPackages = with pkgs; [ tor torsocks tor-browser + torctl + vanguards + tractor + onioncircuits + oniux ]; - networking.nameservers = [ "127.0.0.1" ]; + # networking.nameservers = [ "127.0.0.1" ]; } |
