From a79b454b34c6f5eec69962281d3fea91d5662a11 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Fri, 29 Nov 2024 15:39:02 -0700 Subject: [PATCH] Remove wayland from electron apps due to slowness --- hosts/laptop/modules/environment.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/laptop/modules/environment.nix b/hosts/laptop/modules/environment.nix index d312ec8..f702b73 100644 --- a/hosts/laptop/modules/environment.nix +++ b/hosts/laptop/modules/environment.nix @@ -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" ]; -} \ No newline at end of file +}