forked from mirrors/nixpkgs
xterm: Don't enable unless X11 is enabled
This commit is contained in:
parent
f2cb92f5d4
commit
6e086caa8a
|
@ -19,7 +19,7 @@ in
|
|||
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = mkIf (config.services.xserver.enable && cfg.enable) {
|
||||
|
||||
services.xserver.desktopManager.session = singleton
|
||||
{ name = "xterm";
|
||||
|
|
Loading…
Reference in a new issue