mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-10 02:30:29 +01:00
24 lines
579 B
Nix
24 lines
579 B
Nix
{
|
|
services.tor = {
|
|
enable = true;
|
|
settings = {
|
|
# WE DO NOT WANT GERMAN NODES ANYWHERE IN THE CIRCUIT!!!!
|
|
ExcludeExitNodes = "{de}";
|
|
ExcludeNodes = "{de}";
|
|
StrictNodes = 1;
|
|
|
|
# optionally also avoid unknown-geoip nodes
|
|
GeoIPExcludeUnknown = 1;
|
|
|
|
# listen on socks5 port for local apps (like transmission/qbittorrent)
|
|
SOCKSPort = "9050";
|
|
};
|
|
};
|
|
services.transmission = {
|
|
enable = true;
|
|
settings = {
|
|
proxy = "socks5://127.0.0.1:9050"; # assuming tor daemon
|
|
proxy-auth-enabled = false;
|
|
};
|
|
};
|
|
}
|