dotfiles/system/nixos/ssh.nix

11 lines
203 B
Nix

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