Just for further reference if someone ever stumble upon this with the same issue, I fixed it.
Besides the steps above I was missing both additional steps:
-
Increase the size of
/var/tmp. -
Include the kernel modules properly.
In my case, I’m just using dracut and systemd-boot as defaults, so according to this and this article I created a file under /etc/dracut.conf.d/ named nvidia.conf with the options
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
then regenerated the initrd.
I haven’t tested this with mkinitcpio but I guess if the /var/tmp partition was big enough it would be enough to just pass the Nvidia modules above as usual.
Thank you @jake99 for the tips and help!