diff options
| author | Fuwn <[email protected]> | 2024-09-11 03:34:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 03:34:39 -0700 |
| commit | b84cc156236ecd4fbe0c9d458e46078df625cb47 (patch) | |
| tree | 18d5355ef83ebe992074a5cbff14f393b8481b67 /modules/networking/tor.nix | |
| parent | Bump: i2p (diff) | |
| download | nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.tar.xz nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.zip | |
Bump: move networking module
Diffstat (limited to 'modules/networking/tor.nix')
| -rw-r--r-- | modules/networking/tor.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/networking/tor.nix b/modules/networking/tor.nix new file mode 100644 index 0000000..dfbfb3a --- /dev/null +++ b/modules/networking/tor.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: +{ + services.tor = { + enable = true; + torsocks.enable = true; + + client = { + enable = true; + dns.enable = true; + }; + }; + + programs.proxychains = { + enable = true; + quietMode = false; + proxyDNS = true; + package = pkgs.proxychains-ng; + + proxies = { + tor = { + type = "socks5"; + host = "127.0.0.1"; + port = 9050; + }; + }; + }; +} |