Skip to content
MicrosoftTakeover edited this page Jan 14, 2020 · 1 revision

Boxtron on NixOS

Boxtron is fully functional on NixOS with some configuration. Firstly, install boxtron in your compatibilitytools.d as normal.

$ cd ~/.local/share/Steam/compatibilitytools.d/ || cd ~/.steam/root/compatibilitytools.d/
$ curl -L https://github.com/dreamer/boxtron/releases/download/v0.5.3/boxtron.tar.xz | tar xJf -

Installing Prerequisites

To install packages in your user environment:

$ nix-env -f '<nixpkgs>' -iA dosbox inotify-tools timidity soundfont-fluid

You can also setup packages for your user in your /etc/nixos/configuration.nix

  users.users.YOURUSERNAME.packages = with pkgs; [
    dosbox
    inotify-tools
    timidity
    soundfont-fluid
  ];

TiMidity++ Support

For TiMidity++ to work, add yourself to the Audio group in /etc/nixos/configuration.nix like so:

users.users.YOURUSERNAME.extraGroups = [ "audio" ];

On NixOS the fluid soundfont has a different name than Boxtron expects, edit ~/.config/boxtron.conf and look for the soundfont line, edit it like so:

soundfont = FluidR3_GM2-2.sf2

Clone this wiki locally