In my case, I received an insomnia diagnosis before depression (I think; it's been a number of years). The two are intertwined. All I can say is that everything is worse with minimal or unrefreshing sleep. I have no psychic energy to deal with depression when my sleep is messy.

Wishing you more and/or better quality sleep...
__________________
My dog

mastered the "fetch" command. He would communicate he wanted something, and I would fetch it.