mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
nixos/xterm: stateVersion disable by default
This commit is contained in:
parent
404caba16b
commit
456c42c3e8
@ -449,8 +449,9 @@
|
||||
</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.
|
||||
<option>services.xserver.desktopManager.xterm</option> is now disabled by default if <literal>stateVersion</literal> is 19.09 or higher.
|
||||
Previously the xterm desktopManager was enabled when xserver was enabled, but it isn't useful for all people so it didn't make sense to
|
||||
have any desktopManager enabled default.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -13,8 +13,7 @@ in
|
||||
|
||||
services.xserver.desktopManager.xterm.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
defaultText = "config.services.xserver.enable";
|
||||
default = (versionOlder config.system.stateVersion "19.09");
|
||||
description = "Enable a xterm terminal as a desktop manager.";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user