An option for XRandr support. Use it for dualhead ATi (and probably Intel) cards.
svn path=/nixos/trunk/; revision=13109
This commit is contained in:
parent
a99b82b987
commit
1d55390e1c
@ -18,11 +18,12 @@ let
|
|||||||
windowManager = "twm";
|
windowManager = "twm";
|
||||||
tty = "9";
|
tty = "9";
|
||||||
};
|
};
|
||||||
|
pkgs
|
||||||
|
|
||||||
in
|
in
|
||||||
(isoFun {
|
(isoFun {
|
||||||
inherit platform;
|
inherit platform;
|
||||||
lib = (import ../pkgs/lib);
|
lib = (import ../../pkgs/lib);
|
||||||
|
|
||||||
networkNixpkgs = "";
|
networkNixpkgs = "";
|
||||||
manualEnabled = true;
|
manualEnabled = true;
|
||||||
|
@ -1557,6 +1557,16 @@ in
|
|||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualScreen = mkOption {
|
||||||
|
default = null;
|
||||||
|
example = {
|
||||||
|
x=2048;
|
||||||
|
y=2048;
|
||||||
|
};
|
||||||
|
description = "
|
||||||
|
Virtual screen size for Xrandr
|
||||||
|
";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ejabberd = {
|
ejabberd = {
|
||||||
|
@ -58,11 +58,13 @@ Section "Screen"
|
|||||||
Depth 16
|
Depth 16
|
||||||
Modes @resolutions@
|
Modes @resolutions@
|
||||||
@extraDisplaySettings@
|
@extraDisplaySettings@
|
||||||
|
@virtualScreen@
|
||||||
EndSubSection
|
EndSubSection
|
||||||
SubSection "Display"
|
SubSection "Display"
|
||||||
Depth 24
|
Depth 24
|
||||||
Modes @resolutions@
|
Modes @resolutions@
|
||||||
@extraDisplaySettings@
|
@extraDisplaySettings@
|
||||||
|
@virtualScreen@
|
||||||
EndSubSection
|
EndSubSection
|
||||||
#SubSection "Display"
|
#SubSection "Display"
|
||||||
# Depth 32
|
# Depth 32
|
||||||
|
@ -125,6 +125,9 @@ let
|
|||||||
extraModules = cfg.extraModules;
|
extraModules = cfg.extraModules;
|
||||||
serverLayoutOptions = cfg.serverLayoutOptions;
|
serverLayoutOptions = cfg.serverLayoutOptions;
|
||||||
defaultDepth = cfg.defaultDepth;
|
defaultDepth = cfg.defaultDepth;
|
||||||
|
virtualScreen = if cfg.virtualScreen != null then
|
||||||
|
"Virtual ${toString cfg.virtualScreen.x} ${toString cfg.virtualScreen.y}"
|
||||||
|
else "";
|
||||||
|
|
||||||
xfs = if cfg.useXFS == false then "" else
|
xfs = if cfg.useXFS == false then "" else
|
||||||
''FontPath "${toString cfg.useXFS}"'';
|
''FontPath "${toString cfg.useXFS}"'';
|
||||||
|
Loading…
Reference in New Issue
Block a user