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