From e572b40fc484a7daaeeb5cdde30f45b6be16aaeb Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 5 Aug 2023 16:37:44 +0530 Subject: wayland: enable va-api gpu decoding on firefox --- features/wayland.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'features/wayland.nix') diff --git a/features/wayland.nix b/features/wayland.nix index c521eb5..acdde1e 100644 --- a/features/wayland.nix +++ b/features/wayland.nix @@ -10,7 +10,6 @@ qemu OVMFFull element-desktop - firefox swaylock swayidle swaybg @@ -54,6 +53,13 @@ enable = true; pinentryFlavor = "gnome3"; }; + firefox = { + enable = true; + preferences = { + "media.ffmpeg.vaapi.enabled" = true; + "gfx.webrender.all" = true; + }; + }; }; security = { -- cgit v1.2.3