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.
hydrogen generation via nitrogenase