From 5a5061fe974bce4b7ae9fa841a2aafe4e3a8f4f3 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Thu, 3 Feb 2022 08:00:49 -0500 Subject: [PATCH] Make firefox wayland global --- modules/sway.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/sway.nix b/modules/sway.nix index e26bf8c..37628c3 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -71,11 +71,14 @@ # Make pipewire present a pulse audio tcp port pactl load-module module-native-protocol-tcp # Make firefox use wayland - export MOZ_ENABLE_WAYLAND=1 export XDG_CURRENT_DESKTOP="sway" ''; }; + environment.sessionVariables = { + MOZ_ENABLE_WAYLAND = "1"; + }; + # Enable the xdg-portal xdg = { portal = {