diff options
author | sinanmohd <sinan@firemail.cc> | 2023-08-05 16:37:44 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-08-06 11:33:33 +0530 |
commit | e46c03e0e33578dc4db9d1cfcd81b968e4d038cf (patch) | |
tree | 8ae41b2bbdf1f14367942845c0414d180ac8dfe4 | |
parent | 420bcd1583ee3771faf6df093ee69f5d1b93c2ff (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 = { |