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 = {