Merge #51836: nixos/nvidia: fix inverted assertion

This commit is contained in:
Vladimír Čunát 2018-12-11 21:41:20 +01:00
commit ac19d5e34f
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

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";
} }
{ {