Thunderbots uses Bazel, which assumes an FHS system. In addition, dependencies are installed imperatively via a script that manually downloads dependencies, making it difficult to port to Nix.
My solution: Use an Ubuntu LXC container with X11 forwarding (for Thunderscope). This can be (mostly) declaratively configured using the Incus options available in NixOS. See the second file for the code.
- Add the provided NixOS module to your system configuration (not home-manager).