[Hardware/Nvidia/Proprietary]: only disable Wayland by default if no Intel GPU is present.

Ideally, we should check wether any other GPU with open-source drivers
is present.
This commit is contained in:
Antoine Viallon 2024-04-16 19:18:46 +02:00
parent 2124e42b12
commit 4500c8d887
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -76,7 +76,7 @@ in {
services.xserver.exportConfiguration = true;
services.xserver.displayManager.sddm.wayland.enable = false; # Frequent issues with Nvidia GPUs
services.xserver.displayManager.sddm.wayland.enable = mkIf (!config.aviallon.hardware.intel.enable) (mkDefault false); # Frequent issues with Nvidia GPUs
# Fix hybrid sleep with Nvidia GPU
systemd.services.nvidia-suspend = {