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