A thing I thought of is carbon. To keep plants growing in a moon base, you'd need carbon. To build any kind of living soil, you'd need a whole bunch more. On Earth we have an (all too) abundant supply in the shape of carbon dioxide in the atmosphere. No such thing exists on the moon. It seems (from
here) that both carbon and nitrogen only exist in trace quantities on the moon. Of course, the people would breathe out CO2 as long as they had food, but soil building at least would be a major carbon sink. So a carbon source is needed.
Oxygen exists abundantly on the moon, bound up in various minerals. If you could free up some of this oxygen (which is probably possible with an abundant supply of energy) you could set up a high-temperature incinerator operating on pure oxygen, and burn any scraps of plastic-like materials that are beyond other reuse or recycling. This would give a carbon dioxide source for growing things. Even if building soil is not a priority, I guess you could feed the CO2 to algae, and then use them as either food or raw material for making things like bioplastics...