Skip to content

Commit

Permalink
home-manager/sway: set fallback WLR_RENDERER
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Apr 22, 2024
1 parent c069daf commit 8f0957c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions home-manager/desktop/sway/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ in
config = lib.mkIf config.home-manager.desktop.sway.enable {
wayland.windowManager.sway = with commonOptions; {
enable = true;
# https://github.com/nix-community/home-manager/issues/5311
checkConfig = false;

inherit extraConfig;

Expand Down Expand Up @@ -103,7 +101,7 @@ in
# Source home-manager session vars
. "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh"
# Vulkan renderer
export WLR_RENDERER=vulkan
export WLR_RENDERER=vulkan,gles2,pixman
# Firefox
export MOZ_ENABLE_WAYLAND=1
# Chrome/Chromium/Electron
Expand Down

0 comments on commit 8f0957c

Please sign in to comment.