summaryrefslogtreecommitdiffstats
path: root/lass/2configs/tor-ssh.nix
blob: 8b36733e20ab7f135446d8edd3305ccfeef50a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  services.tor = {
    enable = true;
    relay.onionServices.ssh = {
      version = 3;
      map = [{
        port = 22;
        target.port = 22;
      }];
      secretKey = <secrets/ssh-tor.priv>;
    };
  };
}