Every job I ever had in tech was basically terrible and I was never diagnosed, but I suspect was clinically depressed for the 13 years or so I was in tech. I did not have the savings to do it, but I eventually quit and became a bicycle mechanic. I actually enjoy what I do now, and the work environment doesn't have me constantly jumping back and forth between panic, undirected rage, and extreme listlessness like tech…
Why are you going to lose your house? You bought it while you had tech money and the bicycle mechanic money can't pay for it now? Have you considered doing some consulting or something on the side? So sorry to hear this.
I've tried to do some consulting work, but never could figure out how to get any clients. Apparently this is a thing people do somehow, but everyone I asked just knew somebody to get their first ones.