mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nixos/doc: Improve release notes for xrandrHeads
The xrandrHeads option has been there since a long time, so there is no need to advertise it as a new feature. Instead, let's focus on just what has changed, which is that we now assign one head to be primary. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
8266c89b55
commit
d7a8876c13
@ -19,12 +19,25 @@ has the following highlights: </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Xserver services module now allows one to specify configuration for each monitor.
|
||||
This is done via the xrandrHeads property. It is backwards compatible, so your
|
||||
existing configuration still works. You can replace each monitor designation with
|
||||
an attribute set containing the monitor designation, whether the monitor is the
|
||||
primary monitor, and extra configuration for that specific monitor. Only one
|
||||
monitor can be the primary monitor.
|
||||
The module option <option>services.xserver.xrandrHeads</option> now
|
||||
causes the first head specified in this list to be set as the primary
|
||||
head. Apart from that, it's now possible to also set additional options
|
||||
by using an attribute set, for example:
|
||||
<programlisting>
|
||||
{ services.xserver.xrandrHeads = [
|
||||
"HDMI-0"
|
||||
{
|
||||
output = "DVI-0";
|
||||
primary = true;
|
||||
monitorConfig = ''
|
||||
Option "Rotate" "right"
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
</programlisting>
|
||||
This will set the <literal>DVI-0</literal> output to be the primary head,
|
||||
even though <literal>HDMI-0</literal> is the first head in the list.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user