The Nudix hydrolase domain is active on ADP-ribose, (2')-phospho-ADP-ribose, IDP-ribose and NADPH. ATP + beta-nicotinamide D-ribonucleotide + H(+) = diphosphate + NAD(+) Cofactor biosynthesis; NAD(+) biosynthesis; NAD(+) from nicotinamide D-ribonucleotide: step 1/1. In the N-terminal section; belongs to the archaeal NMN adenylyltransferase family.