lennihein / dotfiles

Dotfiles for my ArchLinux setup.
3 stars 0 forks source link

NVIDIA Drivers and Wayland Electron Apps #4

Open lennihein opened 1 year ago

lennihein commented 1 year ago

When using NVIDIA Drivers and Wayland:

# enable NVIDIA
services.xserver.videoDrivers = [ "nvidia" ];
# Force Wayland 
hardware.nvidia.modesetting.enable = true;
# Enable Wayland
services.xserver.displayManager.gdm.wayland = true;
# Hint Ozone to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";

Electron Apps will stay Black/White