diff --git a/nix/nixos-modules/improvedDefaults/wayland.nix b/nix/nixos-modules/improvedDefaults/wayland.nix index 5578a53..cbab594 100644 --- a/nix/nixos-modules/improvedDefaults/wayland.nix +++ b/nix/nixos-modules/improvedDefaults/wayland.nix @@ -41,6 +41,12 @@ in (lib.mkIf (config.services.wayland.enable) { + # TODO mirror on home-manager + environment.sessionVariables = { + MOZ_ENABLE_WAYLAND = lib.mkIf config.programs.firefox.enable "1"; + NIXOS_OZONE_WL = "1"; + }; + # make Steam Input events possible programs.steam.extest.enable = lib.mkIf config.programs.steam.enable true;