After some research I made it work
Since NixOS doesn't follow a FHS filesystem, even though I had the dependencies installed I had to put them on "nix-ld" to make them visible to your game and mimic a FHS :)
It worked after adding these pkgs to nix-ld: libxext libxcursor wayland libxkbcommon libpulseaudio alsa-lib