Maybe try something new once or twice a month. Check out your local meetups, visit museums or art galleries, read books of a different genre, go to random cultural events in your local newspaper, invite some friends to karaoke, plan a long backpacking trip, talk to new people, take classes at your local community college... keep exploring until you find yourself either passionate about something new, or maybe you've met more interesting people who provide fulfilling relationships, or at the very least you find yourself too distracted and busy with random shit to be depressed.
Also, on a personal/emotional level... maybe it would help to learn peaceful acceptance in addition to the ceaseless pursuit of hedonism? You can burn out on excitement and adrenaline too, and learning to be ok in the in-between moments, when things aren't great or terrible but ust OK, is a useful life skill in and of itself. "This too will pass" -- both the good and the bad.
I mean, really, let's face it, tech bros aren't generally known for being happy, well-balanced people... and if you fit that stereotype, well, it's in your power to branch out and start to absorb other personas into your life. It's not really "faking it until you make it", IMO, more like "trying new roles on until you find one, or a combination of several, that fit you".
Oh! Also, maybe exercise more and eat better if you're not already doing that... a LOT of our mood is just controlled by microbes and hormones and shit, not necessarily anything going on in the conscious mind that you can actively re-imagine.
Branch out, find other good things in life, then when you feel ready, you can always circle back and adjust your work to better suit your newfound interests and networks, maybe doing software for some other vertical you find more interesting than pure tech or moving to a different career altogether.
As a SRE you have waaaaaay more ability to tweak your life than most people (because you can financially afford to explore things), might as well make use of it! Especially while you're childless and (presumably, it's not clear from your post) "relatively" single.
If so, your 30s could be a golden age for you... you have (hopefully) the maturity to be able to take big risks for yourself, the financial wherewithal to chase at least some of your dreams, relative good health, and unburdened by Big Life Things like kids, marriages, divorces, mortgages, retirement, whatever. Just take it easy and keep looking instead of doubling-down on a dead-end tech job.
At the end of your life you won't care how many lines of code you've written or how big your bank account got. Nobody will. Stop chasing empty dreams of "success" defined by a ruthless ultracapitalist society and find your own meaning!