summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorSvein Ove Aas <svein@google.com>2018-12-12 15:25:39 +0000
committerGitHub <noreply@github.com>2018-12-12 15:25:39 +0000
commit4e5b3656440b298f10022c1330f24b1d9f3ccbd1 (patch)
tree45b5560ed399c520eb4b79fb27f55fdab0c5bf10 /nixos/modules/hardware
parentf9b07819389b631f5ea2c1daa2baf84fa0d30947 (diff)
nvidia: Improve assertion documentation
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/nvidia.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index 8f1e2671ece0..b680c3c1ccb5 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 ||