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