{ ... }: { # Enable the OpenSSH daemon. services.openssh = { enable = true; settings = { PasswordAuthentication = false; KbdInteractiveAuthentication = false; PermitRootLogin = "no"; AllowUsers = [ "xnm" ]; }; }; }