diff options
| author | Fuwn <[email protected]> | 2024-10-04 05:17:18 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-04 05:17:18 -0700 |
| commit | 9779c82ddb482710c86a8d5cda468ff4decab944 (patch) | |
| tree | 8675effb506dee7b469d9fdda6dc2cec80e6415d /lib | |
| parent | lock: rui (diff) | |
| download | nixos-config-9779c82ddb482710c86a8d5cda468ff4decab944.tar.xz nixos-config-9779c82ddb482710c86a8d5cda468ff4decab944.zip | |
home: add notion
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/electron-flags.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/electron-flags.nix b/lib/electron-flags.nix new file mode 100644 index 0000000..34c7fc9 --- /dev/null +++ b/lib/electron-flags.nix @@ -0,0 +1,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" +] |