Early in the game, players can die often because of creature attacks. Before rushing back to pick up your items, it would be nice if you can collect some survival food from your base, and not have to scavenge along the way (because berries don't respawn).
The mini farm could be placed on top of the HUB building, using something like flower pots to repeatedly grow the plants of your choice. You would need to use biomass to make sure it keeps on growing said plants.
In late game, the farm could be automised. Maybe by a robot that tends the plants? And the biomass generators could be retooled as biomass creators (which can be supplied by going to the toilet in the HUB building), so your farm is fully autonomous.