Might be wrong but this sounds more like depression to me than aging. I've had a few bad ~6 month bouts of this and always the strongest symptom was a total lack of interest in things that I know I used to enjoy very much. It seems to happen to me once every 5 years or so (I'm 49).
Personally, drugs and CBT never helped me with these. They might help you. I mostly just put my head down and kept coding for work and did nothing after work but lay down. I just had no interest in reading or watching TV or anything. If I hadn't had kids to support, I would not have been able to force myself to go to work either.
Eventually time would pass and it would go away and I would remember how much I liked coding and how much I liked all of my hobbies.
It's very hard to imagine ever returning to normal when you're in some sort of depressive episode. But statistically speaking, you almost certainly will. That knowledge always helped me to get through them. These is a good chance that in 6-12 months, you might again be quite excited by new technologies and the thought of going to festivals/bars/clubs.
I had one bout of this (by far the worst) in like 2003. I think I tried every SSRI out there at the time plus lithium plus a bunch of stuff that like 3 different psychiatrists prescribed over a year. I would try something for like 2-6 weeks and then try another. I honestly don't remember the full list. None of it helped me.
SSRIs in particular did not work well for me because they really interfered with my natural sleep cycle and this did not go away after 6 weeks as the doctors hoped. I would just bolt awake sweating after like 3 hours of sleep which made things much, much worse.
I never tried any illegal drugs. I've read good reports about psychadelics in some cases. But I've never tried anything like that.
I did try benzodiazapines during my last bout like 3 years ago. They were wonderful at first. Klonopin made me feel so relaxed somehow that it fixed everything else. I slept great and was interested in everything again. I thought I'd found the fix. But then it stopped working. They recommended increasing my dose. But I read horror stories about what happens there (see Jordan Peterson saga). So I tapered off. It was awful. I would wake up after 2 hours having a panic attack and not be able to get back to sleep. It took like an extra 3 months after tapering off until I was back to just regular depressed :). Would not recommend these! Read the benzo recovery reddit.
I can recommend shrooms. First experience was groundbreaking. It allowed to see how my habits (and thoughts) are pulling me down. Mushrooms are easy to grow and not addictive.
Personally, drugs and CBT never helped me with these. They might help you. I mostly just put my head down and kept coding for work and did nothing after work but lay down. I just had no interest in reading or watching TV or anything. If I hadn't had kids to support, I would not have been able to force myself to go to work either.
Eventually time would pass and it would go away and I would remember how much I liked coding and how much I liked all of my hobbies.
It's very hard to imagine ever returning to normal when you're in some sort of depressive episode. But statistically speaking, you almost certainly will. That knowledge always helped me to get through them. These is a good chance that in 6-12 months, you might again be quite excited by new technologies and the thought of going to festivals/bars/clubs.