I am using Linux Mint which i believe should work with
Ubports. Is that correct?
That's correct. I can't help you further because I don't have a Nexus, but Linux Mint should not be the problem here.
Someone may be able to help you if you can explain exactly what happened, and at what point it failed, and what that failure looked like.
From what I've heard, it's pretty hard to brick any device using UBports even if it may seem like that's what happened. Don't despair just yet.