Thanks. I had this option set in ~/.config/chromium-flags.conf but seems like this file is ignored by chromium. But starting chromium from the command line with the following flags enabled accelerated video playback for me:
Now when I got to chrome://gpu I see vulkan is disabled and in the terminal i see the error
Warning: Couldn't open libvulkan.so.1
Info: Couldn't load Vulkan
at LoadVulkan (../../third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp:135)
at Initialize (../../third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp:139)
I wonder how to install vulkan properly so it can be used by chromium?
Also how can I set those flags for chromium in nix configuration persistently?