How do I set custom install location for flatpaks on Solus OS?

Hello everyone,

I am relatively new to Linux and flathub. As far as I know my main flatpak directory is on my main ssd drive.
Besides the SSD I have an HDD which I want to use for games. I want to install a flatpak Minecraft client (PolyMC) on my HDD but don’t know how to do that on the Terminal. Any suggestions?

Thank you!

You can create additional system installations in different locations: flatpak-installation

flatpak commands have an option to perform the command for an specific installation (--installation=<NAME>).