nix-stuff/roles/server/ssh.nix

10 lines
186 B
Nix
Executable file

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