parent
5459a5c007
commit
e6b8dd5b25
|
@ -73,13 +73,13 @@ let
|
||||||
configFile = stdenv.mkDerivation {
|
configFile = stdenv.mkDerivation {
|
||||||
name = "xserver.conf";
|
name = "xserver.conf";
|
||||||
src = ./xserver.conf;
|
src = ./xserver.conf;
|
||||||
inherit fontDirectories videoDriver resolutions isClone synaptics;
|
inherit fontDirectories videoDriver resolutions isClone;
|
||||||
|
|
||||||
synapticsInputDevice = (if getCfg "isSynaptics" then "
|
synapticsInputDevice = (if getCfg "isSynaptics" then "
|
||||||
Section \"InputDevice\"
|
Section \"InputDevice\"
|
||||||
Identifier \"Touchpad[0]\"
|
Identifier \"Touchpad[0]\"
|
||||||
Driver \"synaptics\"
|
Driver \"synaptics\"
|
||||||
Option \"Device\" \""+(getCfg "devSynaptics")+"\"
|
Option \"Device\" \"${getCfg "devSynaptics"}\"
|
||||||
Option \"Protocol\" \"PS/2\"
|
Option \"Protocol\" \"PS/2\"
|
||||||
Option \"LeftEdge\" \"1700\"
|
Option \"LeftEdge\" \"1700\"
|
||||||
Option \"RightEdge\" \"5300\"
|
Option \"RightEdge\" \"5300\"
|
||||||
|
@ -100,18 +100,19 @@ let
|
||||||
Option \"TapButton3\" \"3\"
|
Option \"TapButton3\" \"3\"
|
||||||
EndSection " else "");
|
EndSection " else "");
|
||||||
|
|
||||||
xkbOptions = (if (getCfg "xkbOptions") == "" then "" else
|
xkbOptions = if (getCfg "xkbOptions") == "" then "" else
|
||||||
" Option \"XkbOptions\" \""+(getCfg "xkbOptions")+"\"");
|
" Option \"XkbOptions\" \"${getCfg "xkbOptions"}\"";
|
||||||
|
|
||||||
layout = getCfg "layout";
|
layout = getCfg "layout";
|
||||||
|
|
||||||
corePointer = (if getCfg "isSynaptics" then "Touchpad[0]" else "Mouse[0]");
|
corePointer = if getCfg "isSynaptics" then "Touchpad[0]" else "Mouse[0]";
|
||||||
|
|
||||||
internalAGPGART = (if (getCfg "useInternalAGPGART") == "yes" then
|
internalAGPGART =
|
||||||
" Option \"UseInternalAGPGART\" \"yes\"" else
|
if (getCfg "useInternalAGPGART") == "yes" then
|
||||||
if (getCfg "useInternalAGPGART") == "no" then
|
" Option \"UseInternalAGPGART\" \"yes\""
|
||||||
" Option \"UseInternalAGPGART\" \"no\"" else
|
else if (getCfg "useInternalAGPGART") == "no" then
|
||||||
" ");
|
" Option \"UseInternalAGPGART\" \"no\""
|
||||||
|
else " ";
|
||||||
|
|
||||||
extraDeviceConfig = getCfg "extraDeviceConfig";
|
extraDeviceConfig = getCfg "extraDeviceConfig";
|
||||||
extraMonitorSettings = getCfg "extraMonitorSettings";
|
extraMonitorSettings = getCfg "extraMonitorSettings";
|
||||||
|
|
Loading…
Reference in New Issue