Securing sustainable food supplies is a key challenge for long-term human exploration and potential habitation of the moon. The moon’s soil contains no organic material, and essential plant nitrogen sources like ammonia and nitrate are virtually nonexistent.