nvidia: Improve assertion documentation

This commit is contained in:
Svein Ove Aas 2018-12-12 15:25:39 +00:00 committed by GitHub
parent f9b0781938
commit 4e5b365644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ in
assertions = [ assertions = [
{ {
assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland; assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
message = "NVIDIA drivers don't support wayland"; message = "NVIDIA drivers don't support wayland, set services.xserver.displayManager.gdm.wayland=false";
} }
{ {
assertion = !optimusCfg.enable || assertion = !optimusCfg.enable ||