nix-stuff/roles/server/ssh.nix
2024-03-20 13:03:05 +01:00

10 lines
178 B
Nix
Executable file

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