If I read the mineral deal right, and I could easily be wrong, it sounds like the less military aid Ukraine gets from the US, the less the deal costs Ukraine. So I suspect they're going to lean on EU deals as much as possible.
And while a peace deal might stop open warfare, I expect Kyiv will have a strong motivation to over arm themselves, probably with the assistance and collaboration with Poland, until Putin is dead. After that will depend on his successor.