diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-04-24 11:54:38 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-04-24 11:54:38 +0200 |
commit | d7a8876c13f75e7a55e2f3cbc16346406e9abdf8 (patch) | |
tree | 818def17c47cb80666aaba553ebc7194b3b6915c /nixos/doc/manual/release-notes/rl-1709.xml | |
parent | 8266c89b55e3ae97ff635a0f9f8aee556ae7b384 (diff) |
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>
Diffstat (limited to 'nixos/doc/manual/release-notes/rl-1709.xml')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1709.xml | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1709.xml b/nixos/doc/manual/release-notes/rl-1709.xml index 46469a4da782..988562366471 100644 --- a/nixos/doc/manual/release-notes/rl-1709.xml +++ b/nixos/doc/manual/release-notes/rl-1709.xml @@ -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> |