This will get you a handful extra meals, assuming the ideal case where everything was fully grown, harvested, and preserved before the incident. It's one thing to have a village harvest & jam cycle for the seasons, it's another to need to be prepared for the situation to change overnight, all alone and with only a home garden to work with.
You're better off using the money, time, energy, etc. to buy provisions that are immediately and near-permanently useful without the variability, climate sensitivity, and labor intensity of gardening.
And also, gardening is a high quality activity for you and your family at any time. It feels good eating a little bit of what you've grown, and there are lots of things that are either not possible or rather expensive to buy but simple to grow.
* Have solar installed on your home. Have some spare disconnected inverters, maybe even a couple of uninstalled panels.
* Grow some of your own food in a garden.
* Have good relationships with some of your neighbors.
* Know how to do stuff yourself, have some tools and building materials in your garage
* Have a bicycle
* Have a method to purify water
None of these things are bad ideas anyway. Just don't be absolutely reliant on just-in-time purchasing of life necessities and know enough to be able to figure stuff out on your own. More or less just go on an overnight backpacking trip once in a while without buying prepackaged everything and you'll be pretty good.