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