For Qubes 4.1 I think I followed this guide: 'archlinux-minimal' template
For Qubes 4.2 I didn’t yet manage to get qubes-builder v2 working but I found there is an archlinux template in the qubes-templates-community-testing repositories as shown by qvm-template list
in dom0.
As for installing the nvidia driver, I only installed the nvidia-open-dkms
package, I don’t think I did any further configuration.