minecraft dev environment configs

This commit is contained in:
Chris Toph 2025-02-14 15:02:32 -05:00
parent 2ff406b621
commit 841aaaf83e
3 changed files with 40 additions and 1 deletions

View file

@ -17,6 +17,7 @@
# Modules
./modules/fish
./modules/gnome
./modules/minecraft
./modules/steam
./modules/vm
];

View file

@ -23,7 +23,6 @@
xdg.systemDirs.data = [ "${config.home.homeDirectory}/.nix-profile/share/applications" ];
home.packages = with pkgs; [
asdf-vm
bitwarden-desktop
chafa
fastfetch
@ -33,6 +32,7 @@
grc
inspector
logisim-evolution
mcaselector
monocraft
nerd-fonts.fira-code
nodejs_22

View file

@ -0,0 +1,38 @@
{
pkgs,
lib,
...
}:
let
runtimeLibs = with pkgs; [
## native versions
glfw3-minecraft
openal
## openal
alsa-lib
libjack2
libpulseaudio
pipewire
## glfw
libGL
xorg.libX11
xorg.libXcursor
xorg.libXext
xorg.libXrandr
xorg.libXxf86vm
udev # oshi
vulkan-loader # VulkanMod's lwjgl
];
in
{
programs.nix-ld.libraries = runtimeLibs;
environment.variables = {
LD_LIBRARY_PATH = lib.makeLibraryPath runtimeLibs;
};
}