nixos/nvidia: fix inverted assertion

This commit is contained in:
Andrew Childs 2018-12-11 02:04:10 +09:00
parent 49996e17ae
commit f2332809fd

View file

@ -101,7 +101,7 @@ in
config = mkIf enabled { config = mkIf enabled {
assertions = [ assertions = [
{ {
assertion = config.services.xserver.displayManager.gdm.wayland; assertion = !config.services.xserver.displayManager.gdm.wayland;
message = "NVIDIA drivers don't support wayland"; message = "NVIDIA drivers don't support wayland";
} }
{ {