Remove wayland from electron apps due to slowness

This commit is contained in:
Tyler Beckman 2024-11-29 15:39:02 -07:00
parent f27a100576
commit a79b454b34
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -1,11 +1,12 @@
{ ... }:
{
# Enable wayland support
environment.sessionVariables ={
NIXOS_OZONE_WL = "1";
environment.sessionVariables = {
# Wayland electron has no hardware acceleration support, so disable it for now
# NIXOS_OZONE_WL = "1";
STEAM_FORCE_DESKTOPUI_SCALING = "2";
};
# Enable zsh-autocomplete compatibility
environment.pathsToLink = [ "/share/zsh" ];
}
}