nixos/desktop-managers: let them work when services.xserver.enable=false

This commit is contained in:
volth 2019-05-13 16:57:09 +00:00 committed by GitHub
parent ac6875d294
commit b51aae10e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ in
};
config = mkIf (config.services.xserver.enable && cfg.enable) {
config = mkIf cfg.enable {
services.xserver.desktopManager.session = singleton
{ name = "xterm";