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