[deleted] echo 'blacklist nouveau' | sudo tee /etc/modprobe.d/10_blacklist_nouveau.conf
If the directory doesn't exists, just create it first.
It can also be blacklisted with some kernel parameters but this is usually done for temporary things like testing.