patches provided by Tobias Hammerschmidt

svn path=/nixos/trunk/; revision=10055
This commit is contained in:
Marc Weber
2008-01-02 21:16:58 +00:00
parent c6cf1481b0
commit 598848d6af
3 changed files with 12 additions and 0 deletions
+8
View File
@@ -855,6 +855,14 @@
";
};
extraDisplaySettings = mkOption {
default = "";
example = "Virtual 2048 2048";
description = "
Just anything to add into Display subsection (located in Screen section).
";
};
extraModules = mkOption {
default = "";
example = "
+3
View File
@@ -62,14 +62,17 @@ Section "Screen"
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@
+1
View File
@@ -118,6 +118,7 @@ let
extraDeviceConfig = cfg.extraDeviceConfig;
extraMonitorSettings = cfg.extraMonitorSettings;
extraDisplaySettings = cfg.extraDisplaySettings;
extraModules = cfg.extraModules;
serverLayoutOptions = cfg.serverLayoutOptions;
defaultDepth = cfg.defaultDepth;