stockholm/lass/2configs/tor-ssh.nix
2022-05-29 13:49:18 +02:00

15 lines
218 B
Nix

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