When I first started working on software I was fortunate enough to get exposed to working municipal contracts. One example was building out a payment gateway and website for the LA county coroner and medical examiner. This included making a small e-commerce site for their gift shop (I don’t know why they had a gift shop).
A friends father, who was very involved in local government, told me with regards to government work, “failure is unacceptable but indefinite delay is ideal.”
As long as you are in no immediate hurry to get paid, these sorts of local/state gov projects can be quite lucrative and require very little day to day effort to get them done. The hardest part is learning how to navigate the RFP process but it’s really just about reading the rules and proposals posted. The reason government is often overcharged for mediocre software comes down to this deeply flawed procurement process.