2022-02-18 20:31:01 +03:00
|
|
|
_: prev: let
|
2022-03-09 23:55:02 +03:00
|
|
|
cliArgs = let
|
|
|
|
flags = [
|
|
|
|
"--flag-switches-begin"
|
2022-06-10 21:36:34 +03:00
|
|
|
"--enable-features=WebUIDarkMode,UseOzonePlatform,WebRTCPipeWireCapturer"
|
|
|
|
"--disable-features=IgnoreGPUBlocklist"
|
2022-03-09 23:55:02 +03:00
|
|
|
"--flag-switches-end"
|
|
|
|
"--ozone-platform=wayland"
|
|
|
|
"--enable-webrtc-pipewire-capturer"
|
|
|
|
"--ignore-gpu-blocklist"
|
|
|
|
"--enable-gpu-rasterization"
|
|
|
|
"--enable-zero-copy"
|
|
|
|
"--disable-gpu-driver-bug-workarounds"
|
|
|
|
"--force-dark-mode"
|
|
|
|
];
|
|
|
|
in
|
|
|
|
prev.lib.concatStringsSep " " flags;
|
|
|
|
in {chromium = prev.chromium.override {commandLineArgs = cliArgs;};}
|