summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-05 16:37:44 +0530
committersinanmohd <sinan@firemail.cc>2023-08-06 11:33:33 +0530
commite46c03e0e33578dc4db9d1cfcd81b968e4d038cf (patch)
tree8ae41b2bbdf1f14367942845c0414d180ac8dfe4 /features
parent420bcd1583ee3771faf6df093ee69f5d1b93c2ff (diff)
wayland: enable va-api gpu decoding on firefox
Diffstat (limited to 'features')
-rw-r--r--features/wayland.nix8
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 = {