From 5b84dc26a96bfb689e41c0bc1b4bb28a148dbf06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 28 Nov 2024 01:13:26 +0100 Subject: [PATCH] fix: Make Minecraft render with wayland --- home-config/config/xdg-settings.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-config/config/xdg-settings.nix b/home-config/config/xdg-settings.nix index 8c2e0126..5fb4455d 100644 --- a/home-config/config/xdg-settings.nix +++ b/home-config/config/xdg-settings.nix @@ -36,6 +36,7 @@ in _JAVA_OPTIONS = concatStringsSep " " [ "-Djava.util.prefs.userRoot='${xdg.configHome}'/java" "-Djavafx.cachedir='${xdg.cacheHome}/openjfx'" + "-Dorg.lwjgl.glfw.libname='${pkgs.glfw-wayland-minecraft}/lib/libglfw.so'" ]; LESSKEY = "${xdg.cacheHome}/less/key"; LESSHISTFILE = "${xdg.cacheHome}/less/history";