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:
commit
c4a12ee9c0
1 changed files with 3 additions and 1 deletions
|
@ -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.";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue