hydrogen generation via nitrogenase
The chemical reactions and pathways resulting in the formation of H2 (dihydrogen) which involve a nitrogenase activity as one of the steps. This process is observed in cyanobacteria.
GO:0044835 · biological process