Woodlice are moisture vampires. Remove the damp, and they crumble like ancient cookies. Fix that leaky pipe under the sink. Use a dehumidifier in your basement. Air out your laundry room.
They literally cannot survive without high humidity. You don’t need to kill them. You just need to make your home feel like a desert. They’ll pack their tiny suitcases and leave.
Check your plant pots. Overwatered soil is a woodlouse rave party. Let the top inch of dirt dry out. They’ll sober up and move on.