19 lines
288 B
Nix
19 lines
288 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [22];
|
|
settings = {
|
|
UseDns = true;
|
|
PermitRootLogin = "without-password";
|
|
PasswordAuthentication = false;
|
|
GatewayPorts = "yes";
|
|
LogLevel = "VERBOSE";
|
|
};
|
|
};
|
|
}
|