2024-12-29 15:42:43 -05:00

13 lines
266 B
Nix

{
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "prohibit-password";
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
};
};
}