chromium: Add option to enable ozone (for Wayland)

This commit is contained in:
Artemis Tosini
2020-03-27 21:16:38 +00:00
parent ea5c800175
commit b3e1a1bbbb
2 changed files with 16 additions and 2 deletions
@@ -13,6 +13,7 @@
, enablePepperFlash ? false
, enableWideVine ? false
, useVaapi ? false # test video on radeon, before enabling this
, useOzone ? false
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, commandLineArgs ? ""
@@ -32,7 +33,7 @@ let
upstream-info = (callPackage ./update.nix {}).getChannel channel;
mkChromiumDerivation = callPackage ./common.nix {
inherit gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport useVaapi;
inherit gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport useVaapi useOzone;
};
browser = callPackage ./browser.nix { inherit channel enableWideVine; };