Now, ideally I would just slap a Linux based OS on it but...
Ubuntu Touch developement for it died in alpha stage, half of it's features just don't work, also fuck Ubuntu, I hate that OS.
PostmarketOS is even more alpha than Ubuntu.
Considering all that, my choice will probably be some clean lineageos without any gapps/microg, and then just linux deploy on it and then a container with Arch Linux (my favorite server distro).

