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

15 lines
218 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>;
};
};
}