1
0
Fork 0
dotfiles/system/nixos/ssh.nix

11 lines
203 B
Nix

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