kde5: warn if enabled with kde4

This commit is contained in:
Thomas Tuegel 2015-01-24 10:34:37 -06:00
parent 16b54d19d3
commit e7508b831f

View file

@ -68,6 +68,9 @@ in
config = mkIf (xcfg.enable && cfg.enable) {
warnings = optional config.services.xserver.desktopManager.kde4.enable
"KDE 4 should not be enabled at the same time as KDE 5";
services.xserver.desktopManager.session = singleton {
name = "kde5";
bgSupport = true;