Maybe traditional work just isn't the answer. Or maybe a task you kind of like doing but can't find the will to finish on your own becomes a really awesome job, and your 'just because I want to' stuff remains a passionate hobby.
Coding gives you a lot of literacy beyond simply writing code to build systems; perhaps those skills could be applied in a slightly different direction, from SRE to teaching to writing a book (personally, writing's one of the things that turns into a chore when it's for money, but you might be different!).