{...}: { services.openssh = { enable = true; ports = [22]; settings = { PasswordAuthentication = true; PermitRootLogin = "no"; AllowUsers = null; # allow all users by default UseDns = true; X11Forwarding = false; }; }; }