nixos/hosts/makise/system/configuration/ssh.nix
2026-01-11 01:42:54 +00:00

13 lines
169 B
Nix
Executable file

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