mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
patches provided by Tobias Hammerschmidt
svn path=/nixos/trunk/; revision=10055
This commit is contained in:
parent
c6cf1481b0
commit
598848d6af
@ -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 = "
|
||||
|
@ -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@
|
||||
|
@ -118,6 +118,7 @@ let
|
||||
|
||||
extraDeviceConfig = cfg.extraDeviceConfig;
|
||||
extraMonitorSettings = cfg.extraMonitorSettings;
|
||||
extraDisplaySettings = cfg.extraDisplaySettings;
|
||||
extraModules = cfg.extraModules;
|
||||
serverLayoutOptions = cfg.serverLayoutOptions;
|
||||
defaultDepth = cfg.defaultDepth;
|
||||
|
Loading…
Reference in New Issue
Block a user