nixos/desktop-managers/xterm: Disable by default

It's a confusing default for some display managers that will default
to it even when you have defined another display manager.
This commit is contained in:
adisbladis 2019-08-23 16:22:49 +01:00
parent c2fc61c5f7
commit f140dfb161
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7
2 changed files with 7 additions and 2 deletions

View file

@ -348,6 +348,12 @@
What used to be called <literal>emacsPackagesNg</literal> is now simply called <literal>emacsPackages</literal>.
</para>
</listitem>
<listitem>
<para>
<option>services.xserver.desktopManager.xterm</option> is now disabled by default.
It was not useful except for debugging purposes and was confusingly set as default in some circumstances.
</para>
</listitem>
</itemizedlist>
</section>

View file

@ -5,7 +5,6 @@ with lib;
let
cfg = config.services.xserver.desktopManager.xterm;
xserverEnabled = config.services.xserver.enable;
in
@ -14,7 +13,7 @@ in
services.xserver.desktopManager.xterm.enable = mkOption {
type = types.bool;
default = xserverEnabled;
default = false;
defaultText = "config.services.xserver.enable";
description = "Enable a xterm terminal as a desktop manager.";
};