From 4e5b3656440b298f10022c1330f24b1d9f3ccbd1 Mon Sep 17 00:00:00 2001 From: Svein Ove Aas Date: Wed, 12 Dec 2018 15:25:39 +0000 Subject: [PATCH] nvidia: Improve assertion documentation --- nixos/modules/hardware/video/nvidia.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 8f1e2671ece..b680c3c1ccb 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -102,7 +102,7 @@ in assertions = [ { 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 ||