I live in the desert, there are no local truck farms. I can't grow a garden, because we are in a drought and there are water restrictions on.
Ever heard of a cistern? You can save what little rain that falls and use it. Its a form of self reliance.
You can grow a lot of crops right in a bag of potting soil. The bag retains the water, so you don’t need much to keep your plants growing.
Look at some of the urban homesteading ideas for growing stuff indoors with few resources.
Well, living in Ecotopia, AKA the People’s Republic of Northern California has some advantages.