modprobe fails
I have to resort to rather drastic measures to keep the nvidia module from loading during startup. I can tell you that starting X loads the nvidia module. But I can't tell you why. I already have
Section "ServerFlags"
Option "AutoAddGPU" "off"
EndSection
and there's no mention of nvidia related stuff in Xorg.0.log. But the modules gets loaded anyway, even though it is blacklisted in /etc/modprobe.d/blacklist-nvidia.conf.
I am not certain, that your current systemd service file runs strictly before X is started.
Anyhow, the drastic measure to keep the nvidia kernel from loading is to have
alias nvidia off
or
install nvidia /bin/false
in some *.conf file in /etc/modprobe.d. Then it won't load, but then also the modprobe commands in nvidia-xrun will fail. The solution is to use
modprobe -C /dev/null
or even better yet, specify some nvidia-xrun-modprobe.conf file instead of /dev/null.