diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-12-12 00:20:52 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-12-12 00:26:09 +0100 |
commit | ad3e9191d16722ea3eec32f4cd689eea730f39f6 (patch) | |
tree | 419060878b60104f3923cab2431ff8feb0ef8226 | |
parent | 536d0cc3a71c61f06ae1f0a59931229a63faabe6 (diff) |
nixos/nvidia: improve the assertion again
/cc ac19d5e34 #51836.
-rw-r--r-- | nixos/modules/hardware/video/nvidia.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index efc65a55af701..8f1e2671ece09 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 = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland; message = "NVIDIA drivers don't support wayland"; } { |