nixos-configs/modules/sshd.nix

12 lines
175 B
Nix
Raw Normal View History

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