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