mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
x11-drivers/nvidia-drivers: Add xorg.conf file to set ModulePath
Closes: https://bugs.gentoo.org/713546 Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Section "OutputClass"
|
||||
Identifier "nvidia"
|
||||
MatchDriver "nvidia-drm"
|
||||
Driver "nvidia"
|
||||
Option "AllowEmptyInitialConfiguration"
|
||||
ModulePath "/usr/lib/nvidia/xorg"
|
||||
EndSection
|
||||
+3
@@ -343,6 +343,9 @@ src_install() {
|
||||
|
||||
insinto /etc/vulkan/icd.d
|
||||
doins nvidia_icd.json
|
||||
|
||||
insinto /etc/X11/xorg.conf.d
|
||||
doins "${FILESDIR}"/nvidia-390.conf
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
Reference in New Issue
Block a user