Nuvigil, previously known as armodafinil , is a prescription substance accepted by the authorities for managing excessive sleepiness associated with narcolepsy or shift work sleep disorder . It functions by promoting wakefulness and reducing sensations of sleepiness. While beneficial for many, Nu