* Cleanup.
svn path=/nixos/trunk/; revision=9593
This commit is contained in:
parent
5459a5c007
commit
e6b8dd5b25
@ -73,51 +73,52 @@ 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\"
|
||||||
Option \"TopEdge\" \"1700\"
|
Option \"TopEdge\" \"1700\"
|
||||||
Option \"BottomEdge\" \"4200\"
|
Option \"BottomEdge\" \"4200\"
|
||||||
Option \"FingerLow\" \"25\"
|
Option \"FingerLow\" \"25\"
|
||||||
Option \"FingerHigh\" \"30\"
|
Option \"FingerHigh\" \"30\"
|
||||||
Option \"MaxTapTime\" \"180\"
|
Option \"MaxTapTime\" \"180\"
|
||||||
Option \"MaxTapMove\" \"220\"
|
Option \"MaxTapMove\" \"220\"
|
||||||
Option \"VertScrollDelta\" \"100\"
|
Option \"VertScrollDelta\" \"100\"
|
||||||
Option \"MinSpeed\" \"0.06\"
|
Option \"MinSpeed\" \"0.06\"
|
||||||
Option \"MaxSpeed\" \"0.12\"
|
Option \"MaxSpeed\" \"0.12\"
|
||||||
Option \"AccelFactor\" \"0.0010\"
|
Option \"AccelFactor\" \"0.0010\"
|
||||||
Option \"SHMConfig\" \"on\"
|
Option \"SHMConfig\" \"on\"
|
||||||
Option \"Repeater\" \"/dev/input/mice\"
|
Option \"Repeater\" \"/dev/input/mice\"
|
||||||
Option \"TapButton1\" \"1\"
|
Option \"TapButton1\" \"1\"
|
||||||
Option \"TapButton2\" \"2\"
|
Option \"TapButton2\" \"2\"
|
||||||
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";
|
||||||
extraModules = getCfg "extraModules";
|
extraModules = getCfg "extraModules";
|
||||||
serverLayoutOptions = getCfg "serverLayoutOptions";
|
serverLayoutOptions = getCfg "serverLayoutOptions";
|
||||||
defaultDepth = getCfg "defaultDepth";
|
defaultDepth = getCfg "defaultDepth";
|
||||||
|
|
||||||
buildCommand = "
|
buildCommand = "
|
||||||
buildCommand= # urgh, don't substitute this
|
buildCommand= # urgh, don't substitute this
|
||||||
|
Loading…
Reference in New Issue
Block a user