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,8 +1,9 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
# Enable wayland support
|
# Enable wayland support
|
||||||
environment.sessionVariables ={
|
environment.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
# Wayland electron has no hardware acceleration support, so disable it for now
|
||||||
|
# NIXOS_OZONE_WL = "1";
|
||||||
STEAM_FORCE_DESKTOPUI_SCALING = "2";
|
STEAM_FORCE_DESKTOPUI_SCALING = "2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue