From d7a8876c13f75e7a55e2f3cbc16346406e9abdf8 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 24 Apr 2017 11:54:38 +0200 Subject: [PATCH] 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 --- nixos/doc/manual/release-notes/rl-1709.xml | 25 ++++++++++++++++------ 1 file 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 46469a4da78..98856236647 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: - 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 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: + +{ services.xserver.xrandrHeads = [ + "HDMI-0" + { + output = "DVI-0"; + primary = true; + monitorConfig = '' + Option "Rotate" "right" + ''; + } + ]; +} + + This will set the DVI-0 output to be the primary head, + even though HDMI-0 is the first head in the list.