What is a genetic disease that affects the nervous system?

Several. Multiple childhood problems such as leukodystrophies, adult Huntington's chorea, but also migraine, some epilepsies, etc, and genetic susceptibilities to certain neurological acquired conditions.