You’ll want a potting mix with excellent drainage for your peace lily. Aim for a lightweight, porous blend that’s roughly 1/3 peat moss or coco coir, 1/3 perlite or vermiculite, and 1/3 compost or bark.
This mix will retain some moisture while still allowing excess water to easily drain away.