1852, "lump of gold," probably from southwestern England dialectal nug "lump," a word of unknown origin [OED]. Another theory is that it is from a misdivision of an ingot. Transferred sense (of truth, etc.) is from 1859.