21 lines
615 B
Nix
21 lines
615 B
Nix
|
_: prev: let
|
||
|
flags = [
|
||
|
"--ignore-gpu-blocklist"
|
||
|
"--disable-gpu-driver-bug-workarounds"
|
||
|
"--enable-features=WebUIDarkMode"
|
||
|
"--enable-gpu-rasterization"
|
||
|
"--enable-zero-copy"
|
||
|
"--force-dark-mode"
|
||
|
"--enable-features=VaapiVideoDecoder"
|
||
|
"--use-gl=egl"
|
||
|
"--disable-features=UseChromeOSDirectVideoDecoder"
|
||
|
"--disable-features=UseSkiaRenderer"
|
||
|
"--enable-webrtc-pipewire-capturer"
|
||
|
"--ozone-platform-hint=auto"
|
||
|
"--enable-raw-draw"
|
||
|
];
|
||
|
mkCliArgs = flags: prev.lib.concatStringsSep " " flags;
|
||
|
in {
|
||
|
chromium = prev.chromium.override {commandLineArgs = mkCliArgs flags;};
|
||
|
}
|