stockholm/lass/2configs/tor-ssh.nix
2023-09-03 12:13:25 +02:00

17 lines
277 B
Nix

{
services.tor = {
enable = true;
relay.onionServices.ssh = {
version = 3;
map = [{
port = 22;
target.port = 22;
}];
secretKey = <secrets/ssh-tor.priv>;
};
controlSocket.enable = true;
client.enable = true;
};
}