nail sth down
phrasal verb with nail verb [ T ] informal uk/neɪl/ us
to agree the details of a decision, an agreement, etc. so that something can happen:
The decision of who would be appointed Chief Executive was made months before the other terms of the merger were nailed down.
The government hopes to nail down a deal with China by year's end.