13 lines
240 B
Nix
13 lines
240 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
extraConfig = ''
|
||
|
PubkeyAcceptedAlgorithms=+ssh-rsa
|
||
|
Match Group wheel
|
||
|
PasswordAuthentication no
|
||
|
Match All
|
||
|
'';
|
||
|
settings.PermitRootLogin = "yes";
|
||
|
};
|
||
|
}
|