nixpkgs-suyu/upstart-jobs/xserver.conf
Eelco Dolstra 8d731dacad * X session script:
- Set the desktop background to the image ~/.background-image.
  - Depending on services.xserver.sessionType, start an xterm or a
    gnome-terminal as the "desktop" :-)

* Upstart jobs can now declare extra packages to be added to the
  system path through the `extraPath' attribute.  For instance, the
  ALSA job adds alsa-utils, and the X server job adds lots of stuff
  depending on the X configuration (e.g., xrandr, gnome-terminal,
  twm).

* Create a cdrom/dvd symlink for SCSI sr? devices.

svn path=/nixos/trunk/; revision=8221
2007-03-06 00:07:00 +00:00

85 lines
1.4 KiB
Text

Section "Files"
# Font directories.
@fontPaths@
# Module (driver) directories.
@modulePaths@
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection
Section "Module"
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[0]"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor[0]"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-75
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes @resolutions@
EndSubSection
SubSection "Display"
Depth 24
Modes @resolutions@
EndSubSection
SubSection "Display"
Depth 32
Modes @resolutions@
EndSubSection
EndSection
Section "Device"
Identifier "Device[0]"
Driver "@videoDriver@"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[0]" "CorePointer"
Screen "Screen[0]"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "DRI"
Mode 0666 # !!! FIX THIS!
EndSection