diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-08-05 16:37:44 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-08-06 11:33:33 +0530 |
commit | e572b40fc484a7daaeeb5cdde30f45b6be16aaeb (patch) | |
tree | 8ae41b2bbdf1f14367942845c0414d180ac8dfe4 | |
parent | 944061b9f01fae2a0694fdfc75dfa8e2b79186ef (diff) |
wayland: enable va-api gpu decoding on firefox
-rw-r--r-- | features/wayland.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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 = { |