diff --git a/home/sway.nix b/home/sway.nix index f1441ef..5f48039 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -34,7 +34,8 @@ in config = { home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; - MOZ_ENABLE_WAYLAND = "1"; + MOZ_ENABLE_WAYLAND = 1; + MOZ_WEBRENDER = 1; }; home.packages = with pkgs; [ diff --git a/nixos/hw-intel.nix b/nixos/hw-intel.nix new file mode 100644 index 0000000..61135c5 --- /dev/null +++ b/nixos/hw-intel.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: +{ + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver # LIBVA_DRIVER_NAME=iHD + # vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) + vaapiVdpau + libvdpau-va-gl + ]; + }; +}