Caution
This repository is now archived and unmaintained, following the archival of minecraft-linux/appimage-builder.
Tip
As an alternative, it is possible to run mcpelauncher using Flatpak, which can be enabled on NixOS with:
services.flatpak.enable = true;However, using Flatpak introduces statefullness, which may not be what you want from NixOS.
If anyone wants to, there is a guide to building mcpelauncher from source in the docs which could be helpful to re-package the latest version of mcpelauncher.
A nix flake to run Minecraft Bedrock on Nix/NixOS
nix shell github:headblockhead/nix-mcpelauncher
Then run mcpelauncher.