{ ... }: { services.openssh = { enable = true; settings = { PasswordAuthentication = true; AllowUsers = null; UseDns = true; X11Forwarding = false; PermitRootLogin = "no"; }; }; networking.firewall.allowedTCPPorts = [ 22 ]; }