aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/ssh.nix
blob: 13da162961ecb959a2d4ad24ac5c72fda355d713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ ... }:
{
  services.openssh = {
    enable = true;
    ports = [ 52222 ];
    settings = {
      PermitRootLogin = "no";
      PasswordAuthentication = false;
      AllowUsers = [
        "isabella"
      ];
    };
  };

  networking.firewall.allowedTCPPorts = [ 52222 ];
}