Anyone used Modafinil to treat depression?

Anyone used Modafinil to treat depression?

I’ve pretty much self diagnosed myself with depression, not the suicidal emo type, just that recently I’ve been unusually tired 24/7, unable to concentrate, no motivation ect.
I’m looking at my symptoms and was thinking that modafinil could be a possible fix? I’ve used modafinil before and it worked really well, just wondering what you guys think.