I'm a bit surprised by the amount of people saying that it is not possible. It is perfectly possible. If formalised by the court it would be called a Mesher Order.
The advantage to you is that you get to stay in the house for a few years to enable you to get on your feet or for tge children to stay in it until they finish school or go to university (terms and conditions subject to agreement between the parts or court decision).
In exchange he gets to keep the percentage of the value of the house and, if he diesn't have a huge salary, the impossibility to buy another house until you leave.
He can't force you to stay in that house if you don't want to but I doubt very much that he would be forced to pay the mortgage unless he has a massive salay to enable him to pay his accommodation costs and your mortgage without leaving him in poverty.
And it does matter how much you both earn. The ones that has the highest salary is the one who normally gets the smaller percentage if the assets.
With regards to maintenance, it doesn't matter what salary either of you have, who ever has the children for less time overnight is the one who pay maintenance.
I do think however that you need to do your homework, and get all the qualified advice you can, so you get to know what is a reasonable offer before accepting or rejecting it.
By the way, with such little equity, it would be a good idea not to get in a long winded court process (and associated level of debt), as it may be that there is no money left in the equity by the time you need to divide it.