14 lines
245 B
Nix
14 lines
245 B
Nix
{...}: {
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [22];
|
|
settings = {
|
|
UseDns = true;
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
GatewayPorts = "yes";
|
|
LogLevel = "VERBOSE";
|
|
};
|
|
};
|
|
}
|