From 971436c6bdbeb68cbcc89437cb30b3be61ccae7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Wed, 9 Jul 2014 23:55:33 +0200
Subject: [PATCH] services: xorg: Remove optional sections from xorg.conf.

* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Remove
  sections "Monitor", "InputClass", "ServerLayout", "Device", and
  "Screen".
---
 gnu/services/xorg.scm | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 96bbdd7d1e4..c82f4a6aaef 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -67,32 +67,7 @@ (define (xserver.conf)
 Section \"ServerFlags\"
   Option \"AllowMouseOpenFail\" \"on""
 EndSection
-
-Section \"Monitor\"
-  Identifier \"Monitor[0]\"
-EndSection
-
-Section \"InputClass\"
-  Identifier \"Generic keyboard\"
-  MatchIsKeyboard \"on\"
-  Option \"XkbRules\" \"base\"
-  Option \"XkbModel\" \"pc104\"
-EndSection
-
-Section \"ServerLayout\"
-  Identifier \"Layout\"
-  Screen \"Screen-vesa\"
-EndSection
-
-Section \"Device\"
-  Identifier \"Device-vesa\"
-  Driver \"vesa\"
-EndSection
-
-Section \"Screen\"
-  Identifier \"Screen-vesa\"
-  Device \"Device-vesa\"
-EndSection"))
+"))
 
   (mlet %store-monad ((config (xserver.conf)))
     (define script
-- 
GitLab