stockholm/lass/2configs/tor-ssh.nix

17 lines
277 B
Nix
Raw Normal View History

2022-05-29 11:49:18 +00:00
{
services.tor = {
enable = true;
relay.onionServices.ssh = {
version = 3;
map = [{
port = 22;
target.port = 22;
}];
secretKey = <secrets/ssh-tor.priv>;
};
2023-09-03 10:13:25 +00:00
controlSocket.enable = true;
client.enable = true;
2022-05-29 11:49:18 +00:00
};
}