summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-04 05:17:18 -0700
committerFuwn <[email protected]>2024-10-04 05:17:18 -0700
commit9779c82ddb482710c86a8d5cda468ff4decab944 (patch)
tree8675effb506dee7b469d9fdda6dc2cec80e6415d /lib
parentlock: rui (diff)
downloadnixos-config-9779c82ddb482710c86a8d5cda468ff4decab944.tar.xz
nixos-config-9779c82ddb482710c86a8d5cda468ff4decab944.zip
home: add notion
Diffstat (limited to 'lib')
-rw-r--r--lib/electron-flags.nix19
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"
+]