{ networking.firewall.allowedTCPPorts = [22]; services.openssh = { enable = true; settings = { passwordAuthentication = false; KbdInteractiveAuthentication = false; }; }; };