Just press “Ctrl + O” on your keyboard followed by pressing the Enter key to confirm and save the edits that you've made. With the edits saved, exit nano and reboot the computer. By the next boot, the Wayland issue will be completely fixed in GDM, and you'll be able to use Fedora 22.