Accelerated Video Playback
This page is meant to help with techniques for getting accelerated video playback working in NixOS.
In particular, this will enable `vaapi` or `vdpau` for your system. You may not need all of the packages listed, but it seems to not hurt to include them all.
Sample configuration:
{ ... hardware.opengl = { enable = true; extraPackages = with pkgs; [ vaapiIntel vaapiVdpau libvdpau-va-gl ]; }; ... }