{ config, lib, pkgs, ... }: { services.openssh = { enable = true; settings = { PermitRootLogin = "no"; PasswordAuthentication = false; }; }; programs.mosh.enable = true; }