From 51687fdfb5d4dcd640e23b863e7d4b258b0e3d78 Mon Sep 17 00:00:00 2001 From: cosmeak Date: Fri, 16 Jan 2026 11:41:56 +0100 Subject: [PATCH] feat: workaround to make modrinth-app working with wayland and nvidia --- modules/users/cosmeak.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/users/cosmeak.nix b/modules/users/cosmeak.nix index d5544e7..ffd4bdc 100644 --- a/modules/users/cosmeak.nix +++ b/modules/users/cosmeak.nix @@ -26,6 +26,16 @@ in extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ heroic # Game Launcher (Epic Games, GOG) + (modrinth-app.overrideAttrs (oldAttrs: { + buildCommand = + '' + gappsWrapperArgs+=( + --set GDK_BACKEND x11 + --set WEBKIT_DISABLE_DMABUF_RENDERER 1 + ) + '' + + oldAttrs.buildCommand; + })) obs-studio # Recording App prismlauncher # Minecraft launcher vesktop # Discord client -- 2.51.2