I had a look at the SlimeVR Server which is written in Java and uses the gradle build system. It also comes with a gui written in Javascript and a Nix Flake: https://raw.githubusercontent.com/SlimeVR/SlimeVR-Server/refs/heads/main/flake.nix
I guess that I have to make two packages: slimevr-server (for the server written in Java) and slimevr-gui (for the javascript part) Tobias Alexandra