14 lines
269 B
Nix
14 lines
269 B
Nix
|
|
{...}: {
|
||
|
|
config = {
|
||
|
|
services.openssh = {
|
||
|
|
enable = true;
|
||
|
|
openFirewall = true;
|
||
|
|
settings = {
|
||
|
|
PermitRootLogin = "without-password";
|
||
|
|
PasswordAuthentication = false;
|
||
|
|
KbdInteractiveAuthentication = false;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|