Four types of nest boxes used over last couple of seasons.

Preferred hands down is on left which has two plastic tubs (inner 1/3 filled with soil) and plywood top. It is also most expensive. Second has egg escapement issues which can be resolved by linining with plywood or shingles. Buckets the hens tend to kick soil out and hatches are not good when temperatures are extreme. Last is simply milk crate with chicken wire intended to keep eggs from rolling out. Hens could not roll eggs properly with that arrangment.