summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2018-12-11 02:04:10 +0900
committerAndrew Childs <lorne@cons.org.nz>2018-12-11 02:04:10 +0900
commitf2332809fd5a537e1e8e9aff28aee5748f975481 (patch)
tree3c4842ff1f62549bbf77904cba4d14f64b80b221 /nixos/modules/hardware
parent49996e17ae9daf3c3447fb5e8500dc78b4fde995 (diff)
nixos/nvidia: fix inverted assertion
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 21e12395498c..efc65a55af70 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -101,7 +101,7 @@ in
config = mkIf enabled {
assertions = [
{
- assertion = config.services.xserver.displayManager.gdm.wayland;
+ assertion = !config.services.xserver.displayManager.gdm.wayland;
message = "NVIDIA drivers don't support wayland";
}
{