From 9fa12d0432d007f15c8083aa8242aba6f8bae296 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 11 Dec 2017 21:32:26 +0000
Subject: system-templates: xorg.nvidia: add ModulePath to make sure nvidia
 versions are sourced.

The ISO sometimes doesn't use the right path for glx and so opengl apps would fail
---
 abs/core/system-templates/PKGBUILD                   | 2 +-
 abs/core/system-templates/templates/xorg/xorg.nvidia | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/abs/core/system-templates/PKGBUILD b/abs/core/system-templates/PKGBUILD
index 2fe4317..2b017d9 100755
--- a/abs/core/system-templates/PKGBUILD
+++ b/abs/core/system-templates/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=system-templates
 pkgver=8.5
-pkgrel=1
+pkgrel=2
 conflicts=( )
 pkgdesc="Templates used for system configuration"
 depends=()
diff --git a/abs/core/system-templates/templates/xorg/xorg.nvidia b/abs/core/system-templates/templates/xorg/xorg.nvidia
index 75a90cd..eae5162 100644
--- a/abs/core/system-templates/templates/xorg/xorg.nvidia
+++ b/abs/core/system-templates/templates/xorg/xorg.nvidia
@@ -5,3 +5,7 @@ Section "Device"
     Option "DPI" "100 x 100"
     Option "NoLogo" "1"
 EndSection
+
+Section "Files"
+    ModulePath "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
+EndSection 
-- 
cgit v0.12

