summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
index dc45391d..f1e13dde 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
@@ -145,6 +145,9 @@ src_install() {
insinto /usr/share/glvnd/egl_vendor.d
doins ${NV_X11}/10_nvidia.json
+
+ insinto /etc/vulkan/icd.d
+ doins ${NV_X11}/nvidia_icd.json
fi
if use wayland; then
@@ -152,6 +155,9 @@ src_install() {
doins ${NV_X11}/10_nvidia_wayland.json
fi
+ insinto /etc/modprobe.d
+ doins "${FILESDIR}"/nvidia.conf
+
# OpenCL ICD for NVIDIA
insinto /etc/OpenCL/vendors
doins ${NV_OBJ}/nvidia.icd
@@ -161,9 +167,6 @@ src_install() {
if use X; then
doexe ${NV_OBJ}/nvidia-xconfig
-
- insinto /etc/vulkan/icd.d
- doins nvidia_icd.json
fi
doexe ${NV_OBJ}/nvidia-cuda-mps-control