Preset file grayed-out in the GUI

I had previously run cmake --list-presets and there were no problems. The solution was the second thing you mentioned: I had to change UNIX to Unix to solve the problem.

For completeness I want to also mention that for booleans that show as checkboxes in the GUI, the correct settings in json are true and false, which are case-sensitive, without quotes. After I made all of these changes, the file worked correctly.