minecraft dev environment configs
This commit is contained in:
parent
2ff406b621
commit
841aaaf83e
3 changed files with 40 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
# Modules
|
||||
./modules/fish
|
||||
./modules/gnome
|
||||
./modules/minecraft
|
||||
./modules/steam
|
||||
./modules/vm
|
||||
];
|
||||
|
|
|
@ -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
|
||||
|
|
38
host/rune/modules/minecraft/default.nix
Normal file
38
host/rune/modules/minecraft/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue