Always make a backup in your recovery first as you may need to restore it. Download the rom and gapps and place them on your sdcard..
When coming from a different ROM, the first time flashing requirements.
Wipe cache partition
Wipe dalvik (under advanced menu)
Wipe data
Format /system. (Under the mounts menu)
Flash the nightly
Flash gapps