nixpkgs/upstart-jobs/xserver.conf
Eelco Dolstra 49b9662e31 * Use most of the default rules from the udev distribution
rather than supplying our own (less maintenance...).
  This takes care, among other things, of populating
  /dev/disk, which is useful.

svn path=/nixos/trunk/; revision=12246
2008-07-02 18:06:34 +00:00

106 lines
1.8 KiB
Plaintext

Section "Files"
# Font directories.
@xfs@
@fontPaths@
# Module (driver) directories.
@modulePaths@
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection
Section "Module"
Load "bitmap"
Load "int10"
Load "vbe"
Load "v4l"
@moduleSection@
@extraModules@
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "@layout@"
Option "XkbModel" "@xkbModel@"
Option "XkbRules" "xfree86"
@xkbOptions@
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[0]"
Option "Device" "/dev/input/mice"
EndSection
@synapticsInputDevice@
Section "Monitor"
Identifier "Monitor[0]"
Option "DPMS"
# HorizSync 28-49
# VertRefresh 43-75
@extraMonitorSettings@
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth @defaultDepth@
SubSection "Display"
Depth 16
Modes @resolutions@
@extraDisplaySettings@
EndSubSection
SubSection "Display"
Depth 24
Modes @resolutions@
@extraDisplaySettings@
EndSubSection
#SubSection "Display"
# Depth 32
# Modes @resolutions@
# @extraDisplaySettings@
#EndSubSection
@screen@
EndSection
Section "Device"
Identifier "Device[0]"
Driver "@videoDriver@"
Option "Clone" "@isClone@"
@device@
@internalAGPGART@
@extraDeviceConfig@
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "@corePointer@" "CorePointer"
Screen "Screen[0]"
@serverLayoutOptions@
EndSection
Section "Extensions"
@extensions@
EndSection
Section "DRI"
Mode 0666 # !!! FIX THIS!
EndSection