aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/ssh.nix
blob: 6083393a678872a0630dfbea34305d25efbc08cf (plain)
1
2
3
4
5
6
7
8
9
10
{ config, ... }:
{
  enable = true;
  settings = {
    PasswordAuthentication = true;
    AllowUsers = [ config.vars.userName ];
    PermitRootLogin = "no";
    KbdInteractiveAuthentication = false;
  };
}