Agriculture can exist in a total vacuum (drip watered sand in an enclosed dome), but that requires even larger amounts of fertilizer (some of which is produced using oil (which is getting expensive, neh?)), minerals, and other additives to allow the plants to grow and produce a useable crop.