Technic launcher in nixos

I just wanted to put this here for future help if your trying to figure out Technic launcher and your getting weird issues it worth looking at prism launcher which includes support for all the technic modpacks out of the box and is in nixpkgs: NixOS Search