9 lines
240 B
Nix
9 lines
240 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.openssh.enable = true;
|
|
services.openssh.settings.PasswordAuthentication = false;
|
|
services.openssh.settings.KbdInteractiveAuthentication = false;
|
|
services.openssh.settings.PermitRootLogin = "no";
|
|
}
|