cluster/services/tor: init

This commit is contained in:
Max Headroom 2024-04-30 02:34:51 +02:00
parent e36260c449
commit eccf23ce9e
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ 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;
};
};
};
}

View file

@ -0,0 +1,6 @@
{
services.tor-client = {
nodes.client = [ "VEGAS" ];
nixos.client = ./client.nix;
};
}