Remove wayland from electron apps due to slowness
This commit is contained in:
parent
f27a100576
commit
a79b454b34
1 changed files with 4 additions and 3 deletions
|
@ -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" ];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue