homelab/modules/ssh.nix
2026-05-19 13:35:07 +09:00

13 lines
198 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
}