Merge pull request #62852 from samueldr/fix/xterm-desktop-manager-default

nixos/desktop-managers/xterm: Defaults to xserver's state
This commit is contained in:
Samuel Dionne-Riel 2019-06-24 14:48:58 -04:00 committed by GitHub
commit c4a12ee9c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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