In the config screens, what units are the X and Y lengths in?

In the config screens, what units are the X and Y lengths in? I assumed mm, but I’m really not entirely confident that’s right.

Yes mm