This is a funky project I built to give the computer in the IEEE snack shack at USU.
- Do a normal NixOS install with no desktop
Note: I have the username set to
ieeeso you will want to set the username when installing to that, or change the configuration.nix file to reflect the desired username. - Clone this repository. Note: This is where you will want to do any modifications to the given configs.
- Run
sudo cp minecraftKiosk/configuration.nix /etc/nixos/followed bysudo nixos-rebuild switchto build the system. - Give the minecraft user a password with
sudo passwd(because security I guess) - Run
sudo cp minecraftKiosk/IEEEKioskMods.mrpack /home/minecraft && sudo chown minecraft:users /home/minecraft/IEEEKioskMods.mrpackto set put the modpack file into the minecraft user's directory - Run
sudo cp minecraftKiosk/config /home/minecraft && sudo mv /home/minecraft/config /home/minecraft/.confg && sudo chown -R minecraft:users /home/minecraft/.configto set up the minecraft user's config files - Change the line in
.config/bspwm/bspwmrcthat launches minecraft to only launch prismlauncher - Take note of the IP so you can SSH in, then reboot, it should launch prismlauncher on boot.
- Import modpack, open it up, change language to something other than
en_US, create new world namedmain, then change language back toen_US. - Change the line back to what it was from ssh, then reboot one more time. It should then launch right into the modpack.