What’s the goal behind having a switch at both ends? The steppers aren’t strong enough to need mechanical protection from overtravel. If it happens then the truck collides and the stepper skips steps without damage.
I don’t think the homing switches are respected as limit switches in the firmware by default anyway.
It also adds a potential failure mode where if you start homing while at the furthest point from the home position and with one switch tripped, it’ll drive one truck further into that switch trying to back off and drive the other truck in the opposite direction.
I have mine configured with the switches on each truck and that’s what I’d strongly recommend others to do.