summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia.conf2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild2
3 files changed, 4 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia.conf b/x11-drivers/nvidia-drivers/files/nvidia.conf
index 31075c0d..00c6f588 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia.conf
@@ -1 +1,3 @@
blacklist nouveau
+options nouveau modeset=0
+alias nouveau off
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
index 93f63478..a60fe398 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
@@ -144,7 +144,7 @@ src_install() {
doins ${NV_X11}/10_nvidia_wayland.json
fi
- insinto /etc/modprobe.d
+ insinto /lib/modprobe.d
doins "${FILESDIR}"/nvidia.conf
# NVIDIA kernel <-> userspace driver config lib
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
index f1e13dde..5dea7496 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
@@ -155,7 +155,7 @@ src_install() {
doins ${NV_X11}/10_nvidia_wayland.json
fi
- insinto /etc/modprobe.d
+ insinto /lib/modprobe.d
doins "${FILESDIR}"/nvidia.conf
# OpenCL ICD for NVIDIA