nixos/server/sshd.nix

14 lines
247 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
services.openssh = {
enable = true;
2023-05-17 17:10:18 +01:00
ports = [2222];
settings = {
UseDns = true;
2023-05-16 12:06:28 +01:00
PermitRootLogin = "no";
PasswordAuthentication = false;
GatewayPorts = "yes";
LogLevel = "VERBOSE";
};
};
}