{lib, ...}: { services.openssh = { enable = true; settings = { PermitRootLogin = "yes"; KbdInteractiveAuthentication = false; PasswordAuthentication = lib.mkForce false; PubkeyAuthentication = lib.mkForce true; }; }; }