I normally also buy fresh fruits and vegetables, but they are optional, I could eat only food cooked from the dry and frozen ingredients (even for bread, I prefer to bake it myself, instead of buying it, so storing flour needs little space).
On the other hand, I do not have space to store water for more than a few days, so that is a more important external dependence than food.