[nix] Messing around with how to override desktop files
This commit is contained in:
9
lib/electron.nix
Normal file
9
lib/electron.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
# Adds extra arguments to avoid flickering under wayland.
|
||||
electronDesktopEntry =
|
||||
desktop:
|
||||
desktop
|
||||
// {
|
||||
exec = "${desktop.exec} --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user