Added keyboard layout to options and internal AGPGART option

svn path=/nixos/trunk/; revision=9369
This commit is contained in:
Michael Raskin 2007-09-24 19:32:21 +00:00
parent 2cf1edf365
commit 07fd13f20e
3 changed files with 24 additions and 0 deletions

View file

@ -720,6 +720,23 @@
";
}
{
name = ["services" "xserver" "layout"];
default = "us";
description ="
Keyboard layout.
";
}
{
name = ["services" "xserver" "useInternalAGPGART"];
default = "";
example = "no";
description ="
Just the wrapper for an xorg.conf option.
";
}
{
name = ["services" "httpd" "enable"];

View file

@ -79,6 +79,7 @@ Section "Device"
#Option "MonitorLayout" "CRT,LFP"
Option "MonitorLayout" "LVDS,CRT"
@device@
@internalAGPGART@
EndSection

View file

@ -105,6 +105,12 @@ let
corePointer = (if getCfg "isSynaptics" then "Touchpad[0]" else "Mouse[0]");
internalAGPGART = (if (getCfg "useInternalAGPGART") == "yes" then
" Option \"UseInternalAGPGART\" \"yes\"" else
if (getCfg "useInternalAGPGART") == "no" then
" Option \"UseInternalAGPGART\" \"no\"" else
" ");
buildCommand = "
buildCommand= # urgh, don't substitute this