I really hope you read all my response, as it won't be popular, but I feel it is worth sharing. I know you want the best for your baby. That is evident. Sometimes we don't recognize what is truly best because we are caught up in emotions and what we personally want, so take a step back and see if you can look at your situation from an outsiders point of view.
We are adults, as adults we need to take responsibility for our choices. Sex outside of marriage is not a good idea. Two adults who have taken time to know each other, putting good sense before sexual pleasure can better decide how they should be connected. Now we have a baby born into a rocky relationship who has no control over her little world. All of these consequences that she bears are dependent on what you & her faher decide. Regardless of your opinion of him right now, you have to believe there is some good in him otherwise she would not be so wonderful. She is 1/2 him and the more you tear him down, go after him or try to keep her from him, you are doing that harm to her. Try to remember that whatever you do in this life, she will have a connection with him that you can do nothing about, thus you will always be connected to him, this is a consequence you chose.
What you really need to know now is you can make decisions now how to move forward. Courts will decide about custody issues and child support. Remember, you are the one working, the judge could order him more custody and you have to pay. Be very careful what you try to "get out of him", as it could backfire in this day & age. What if the judge ruled that sense he can be home with the child and you are the provider, then he gets 60% custody and you pay him?
Try to work things out, take the court mediation, be reasonable. Since he isn't working, can he watch her during the day while you work and you get her overnight, so there is no childcare payment? Should she be part breastfed and part formula? It may come to that. But know that she will be fine if that is the case. Accept responsibility that you two chose this for her, The children always are the ones who lose when the parents refuse to commit to each other. At lease commit to her that you will not ruin him in the "name of love".
There are relationship classes available across the state that just maybe you two can go to to try and salvage this relationship. I divorced then remarried the same man, so I'm not just blowing smoke. I couldn't have cared if he died, in fact, that would have been easier than the child custody/support issues. But I'm glad I put down my own personal emotions and made a decision to take some classes, get some counseling (ours was a local church) and put our lives back together for our daughter's sake. We now have 4 more children who would not exist had I not done that. It may sound impossible right now, but play out the next 18 years in your mind, best scenarios and worst, you may find that I'm not quite as crazy as I sound.
Good luck to your daughter, and to you. I really hope you can truly do what is best for her, but it will take work and you will not feel like doing it. Anything worth having is worth the work to get there.