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