"Try and get a job at somewhere growing rapidly" Personally I try and get a job at a company whose mission and ethics I believe in so I don't feel like a hapless techno-weenie cog in some generic startup wheel whose driving purpose is to give the founders a nice exit. Sadly for my skillset, the people hiring are generally evil or their net effect on the world is negative. Looking into goat farming.
I've found local governments (city or district) to fill this niche nicely for me. They usually need a guy to help with all kinds of IT stuff, value any kind of automation work and are not as bloated as federal. You help your community and the people who keep it running. Only downside is, your pay will be significantly less than as a cog in an evil machine.
As you say the downside is indeed pay, but as long as it's livable it's still an acceptable tradeoff.