nixos/services/sshd.nix

14 lines
259 B
Nix

{...}: {
services.openssh = {
enable = true;
ports = [22];
settings = {
UseDns = true;
PermitRootLogin = "without-password";
PasswordAuthentication = false;
GatewayPorts = "yes";
LogLevel = "VERBOSE";
};
};
}