[discord] Fix some ozone/wayland stuff

This commit is contained in:
2025-04-09 18:02:52 -07:00
parent 0b013f215e
commit b0852ad15a
6 changed files with 31 additions and 20 deletions

View File

@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
discord
];
xdg.desktopEntries = {
discord = {
name = "Discord";
# Custom options to reduce flickering under wayland.
exec = "discord --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu";
};
};
}