depot/cluster/services/tor/client.nix
2024-04-30 02:34:51 +02:00

17 lines
304 B
Nix

{ config, ... }:
{
links.torSocks.protocol = "socks5h";
services.tor = {
enable = true;
client = {
enable = true;
socksListenAddress = {
IsolateDestAddr = true;
addr = config.links.torSocks.ipv4;
port = config.links.torSocks.port;
};
};
};
}