diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-12-10 15:10:30 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-15 04:16:20 +0100 |
commit | 8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c (patch) | |
tree | efe04b82b4f7fbc455b63b002b4b4721b50a2b05 /nixos/doc | |
parent | 53ef29c1380424e4e697725c4f3df30f9acacebc (diff) | |
download | nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar.gz nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar.bz2 nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar.lz nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar.xz nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.tar.zst nixlib-8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c.zip |
nixos/displayManager: deprecate separate options for default wm/dm
The upstream session files display managers use have no concept of sessions being composed from desktop manager and window manager. To be able to set upstream session files as default session, we need a single option. Having two different ways to set default session would be confusing, though, so we decided to deprecate the old method. We also created separate script for each session, just like we already had a separate desktop file for each one, and started using displayManager.sessionPackages mechanism to make the session handling more uniform.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration/x-windows.xml | 3 | ||||
-rw-r--r-- | nixos/doc/manual/configuration/xfce.xml | 5 | ||||
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2003.xml | 13 |
3 files changed, 16 insertions, 5 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index 9206f43ea392..55ad9fe6e653 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -83,8 +83,7 @@ desktop environment. If you wanted no desktop environment and i3 as your your window manager, you'd define: <programlisting> -<xref linkend="opt-services.xserver.desktopManager.default"/> = "none"; -<xref linkend="opt-services.xserver.windowManager.default"/> = "i3"; +<xref linkend="opt-services.xserver.displayManager.defaultSession"/> = "none+i3"; </programlisting> And, finally, to enable auto-login for a user <literal>johndoe</literal>: <programlisting> diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml index 6ac99c6b2bee..027828bb936d 100644 --- a/nixos/doc/manual/configuration/xfce.xml +++ b/nixos/doc/manual/configuration/xfce.xml @@ -7,9 +7,8 @@ <para> To enable the Xfce Desktop Environment, set <programlisting> -<link linkend="opt-services.xserver.desktopManager.default">services.xserver.desktopManager</link> = { - <link linkend="opt-services.xserver.desktopManager.xfce.enable">xfce.enable</link> = true; - <link linkend="opt-services.xserver.desktopManager.default">default</link> = "xfce"; +<xref linkend="opt-services.xserver.desktopManager.xfce.enable" /> = true; +<xref linkend="opt-services.xserver.displayManager.defaultSession" /> = "xfce"; }; </programlisting> </para> diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml index 579b8d537444..fd9b2b49b8c8 100644 --- a/nixos/doc/manual/release-notes/rl-2003.xml +++ b/nixos/doc/manual/release-notes/rl-2003.xml @@ -55,6 +55,19 @@ and adding a <option>--all</option> option which prints all options and their values. </para> </listitem> + <listitem> + <para> + <option>services.xserver.desktopManager.default</option> and <option>services.xserver.windowManager.default</option> options were replaced by a single <xref linkend="opt-services.xserver.displayManager.defaultSession"/> option to improve support for upstream session files. If you used something like: +<programlisting> +services.xserver.desktopManager.default = "xfce"; +services.xserver.windowManager.default = "icewm"; +</programlisting> + you should change it to: +<programlisting> +services.xserver.displayManager.defaultSession = "xfce+icewm"; +</programlisting> + </para> + </listitem> </itemizedlist> </section> |