nixos/nvidia: drop gdm wayland assertion

This commit is contained in:
worldofpeace 2019-09-27 17:38:31 -04:00
parent cfe4ede98b
commit 7b71fb57d4

View File

@ -110,10 +110,6 @@ in
config = mkIf enabled {
assertions = [
{
assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
message = "NVIDIA drivers don't support wayland, set services.xserver.displayManager.gdm.wayland=false";
}
{
assertion = !optimusCfg.enable ||
(optimusCfg.nvidiaBusId != "" && optimusCfg.intelBusId != "");