I believe secure boot must be disabled as the Nvidia drivers aren't signed for it. You can install the drivers with it enabled but secure boot will prevent them from being loaded at boot up.
I think I read somewhere that there is a process to sign the drivers so you can secure boot, but I never have. I go the rpmfusion route. It's quite easy.