Dkms and Template kernels provided by dom0 (kernel-qubes-vm and kernel-latest-qubes-vm)

Download and install fedora-32-minimal. Build driver there, then do in-place upgrade to fedora-38 with

sudo dnf clean all
sudo dnf --releasever=38 distro-sync --best --allowerasing

DKMS will do its job then.