/usr/bin/modules-load can't handle alias
I am using using envycontrol to disable nvidia gpu.
It created file /etc/modprobe.d/blacklist-nvidia.conf # Automatically generated by EnvyControl
blacklist nouveau
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
alias nouveau off
alias nvidia off
alias nvidia_drm off
alias nvidia_uvm off
alias nvidia_modeset off
Dinit and Runit has script /usr/bin/modules-load which can't handle alias for kernel modules. when modules-load is executed it give error
modprobe: ERROR: could not find module by name='off'
modprobe: ERROR: could not insert 'off': Unknown symbol in module, or unknown parameter (see dmesg)