If, however, you're like 99.99% of people and are good at what you do then you'll have to find what is interesting about the job. I've worked at a company that replaced clipboards with iPads in a factory. If all it was to me was a form-builder application and the technology under it I would have been turned off ages ago. But I was incredibly curious as to why the product as successful and growing, what our customers liked about it, and I pushed for developers to visit the factories and see how people used the app. The results were quite surprising and it fed out team with dozens of ideas.
Technology for technology's sake is fun for a while but will eventually bore you. It helps to have a reason to work on what you do. Which I think is part of what OP is saying but I think you can find the reason in a "boring" job as well. You just have to be curious and look for it.
Although avoiding working at feature factories where the developers are just cogs in a Kafka-esque Agile Machine is a whole other can of worms. The OP's strategy seems like an interesting way to avoid it. Best of luck!