Files
nixos-config/hosts/common/global/ssh.nix
T
Miguel Palhas 474bd840d2 statix
2026-06-27 14:18:03 +01:00

12 lines
190 B
Nix

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