From a7cdf9580a901ed65f179417f6ed8a0848491b66 Mon Sep 17 00:00:00 2001 From: coast Date: Mon, 7 Sep 2026 04:29:09 +0330 Subject: g --- home-configuration/managed/mindustry/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home-configuration/managed/mindustry/default.nix b/home-configuration/managed/mindustry/default.nix index 929bca7..9d6644c 100644 --- a/home-configuration/managed/mindustry/default.nix +++ b/home-configuration/managed/mindustry/default.nix @@ -10,13 +10,14 @@ let hash = "sha256:1s597ywczx5c92dnqkij6drzkpn92613fqqsc1imw7dbhf07xjml"; }; mindustry = pkgs.writeShellScriptBin "mindustry" '' - export LD_LIBRARY_PATH=${pkgs.libglvnd}/lib:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${pkgs.libglvnd}/lib:${pkgs.pulseaudio}/lib:${pkgs.alsa-lib}/lib:$LD_LIBRARY_PATH + export SDL_AUDIODRIVER=pulseaudio exec ${pkgs.jdk17}/bin/java -jar ${src} "$@" ''; in { home.packages = [ mindustry ]; - home.file.".local/share/icons/hicolor/scalable/apps/mindustry.png".source = icon; + home.file.".local/share/icons/hicolor/512x512/apps/mindustry.png".source = icon; xdg.desktopEntries.mindustry.comment = "Sandbox tower defense with factory automation"; xdg.desktopEntries.mindustry.name = "Mindustry"; xdg.desktopEntries.mindustry.genericName = "Tower defense game"; -- cgit v1.3