So, this is really tough. And I dont have a good answer for you. You don't have to get mean. But you do have to establish and maintain boundaries. They will probably - almost certainly - be upset when it becomes real to them. But you dont have to be mean. You can be communicative and clear, and make a plan that gives them enough time to stabilize, but that ends with you being not in that home anymore. Or them not being in it. But establish boundaries, dont engage with them beyond what is needed, distance is really important after a breakup. And right now you two dont really have a lot. Do things on you own and for yourself and with people. And encourage them to do the same, while recognizing with yourself (and them!) that you aren't responsible for their social experience or for guiding them, and maintaining the distance that is needed.
I dont know your boundaries. But you gotta find them and uphold them.