depot/cluster/services/tor/client.nix

18 lines
304 B
Nix
Raw Permalink Normal View History

2024-04-30 03:34:51 +03:00
{ 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;
};
};
};
}