The upper atmosphere of Venus, of course, has a substantial nitrogen component that might be mined by orbit nuclear powered PROFAC vehicles. The nitrogen could then be transported back to cis-lunar space by light sails.
The martian atmosphere also contains nitrogen which could be extracted on the Martian surface and transported to orbit and then transported to cis-lunar space by light sails.
I think its likely that the lunar poles have significant quantities of nitrogenous materials. The LCROSS impact revealed the presence of ammonia at the lunar south pole.
MarcelFor example, from Lunar Impact Uncovered More Than Just Moon Water:
In addition to water, the plume contained "volatiles." These are compounds that freeze in the cold lunar craters and vaporize easily when warmed by the sun. The suite of LCROSS and LRO instruments determined as much as 20 percent of the material kicked up by the LCROSS impact was volatiles, including methane, ammonia, hydrogen gas, carbon dioxide and carbon monoxide.