{ ... }: { services = { openssh = { enable = true; settings = { PermitEmptyPasswords = "no"; PermitRootLogin = "prohibit-password"; PasswordAuthentication = false; KbdInteractiveAuthentication = false; }; }; sshguard = { enable = true; services = [ "sshd" ]; }; }; }