It sounds like you would need to check the make logs of the (Nvidia dkms) module to see why the process isn’t finishing properly. That is, if I understand the issue properly from your description.
If this is a driver coming from nvidia instead of the archive you will need to use mokutilto sign the binary module with your own key that you add to the secureboot database on your machine (note that is not a beginner task) , else the kernel will refuse to load it …
Someone on the Nvidia Forum did a step by step guide …