summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-27 17:38:31 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-19 15:34:39 -0500
commit7b71fb57d494d53eea186fe1383c4475d342b02d (patch)
tree956ae7a0f35d06a142eb8ae2ec0754ea2ce040f0 /nixos/modules/hardware
parentcfe4ede98b9503a9b709f95400e86a4850701a1f (diff)
nixos/nvidia: drop gdm wayland assertion
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/nvidia.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index 1e18e927ec6e..c35897e2f605 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -111,10 +111,6 @@ in
config = mkIf enabled {
assertions = [
{
- assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
- message = "NVIDIA drivers don't support wayland, set services.xserver.displayManager.gdm.wayland=false";
- }
- {
assertion = !optimusCfg.enable ||
(optimusCfg.nvidiaBusId != "" && optimusCfg.intelBusId != "");
message = ''