9 lines
213 B
Nix
9 lines
213 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.openssh.enable = true;
|
|
services.openssh.passwordAuthentication = false;
|
|
services.openssh.kbdInteractiveAuthentication = false;
|
|
services.openssh.permitRootLogin = "no";
|
|
}
|