summaryrefslogtreecommitdiff
path: root/lib/electron-flags.nix
blob: 34c7fc9f0ad3ca092f1aaa400386334f8223129d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib }:
lib.concatStringsSep " " [
  "--enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,TouchpadOverscrollHistoryNavigation"
  "--ozone-platform=wayland"
  "--ignore-gpu-blocklist"
  "--enable-gpu-rasterization"
  "--enable-zero-copy"
  "--disable-gpu-driver-bug-workarounds"
  "--enable-features=VaapiVideoDecoder"
  "--enable-native-gpu-memory-buffers"
  "--disable-features=UseSkiaRenderer"
  "--use-cmd-decoder=passthrough"
  "--process-per-site"
  "--force-dark-mode"
  "--enable-features=WebUIDarkMode"
  "--enable-unsafe-webgpu"
  "--gtk-version=4"
  "--enable-wayland-ime"
]