Putting baby down to sleep.... How do you breastfeeding moms do this?

Sherla
How are you putting baby down to sleep? We have a 5 week old. We did a bath at 9pm, swaddled him, put on white noise machine and turned off lights (we have one small night light on) he's been nursing (breastfeeding) in and out of sleep since 9:30pm... It is now 11:38pm. I tried putting him down twice in the cosleeper bed, and he is now crying and fussing. I'm tired and had to wake my husband up to take him. Anyone have any tips of how they put their baby down for sleep?? Especially those moms who breastfeed. I'm worried that I'm creating a bad habit of nursing him to sleep 😭😭😩😩