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