nixos/hosts/cl-00-00/system/configuration/ssh.nix
2026-01-11 17:24:24 +00:00

13 lines
169 B
Nix
Executable file

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