{ ... }: { services.openssh = { enable = true; passwordAuthentication = false; challengeResponseAuthentication = false; permitRootLogin = "prohibit-password"; kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; extraConfig = '' StreamLocalBindUnlink yes LogLevel VERBOSE ''; }; programs.mosh.enable = true; }