I use an elastic IWB Velcro /. Nylon type holster made by a company called “ Renegade Gear”. Every night I pack my Springfield XDE 9mm on my hip with the safety on and go to sleep.
The waist band is wide enough and the holster well is a square cut section that permits the firearm to nestle deep enough to not permit the trigger to engage.
The reason I can sleep with mine with ease came from (2) combat tours in Iraq. I had to learn how.
I still have some serious concerns about it, but at this point in time with everything that seems to continually be occurring I’m on the highest alert levels since my last tour or retirement. 2020 & the current mindset of the idiots doing what they’re doing in communities has me sleeping with a 9mm again.
Disclaimer annotated: CAUTION / WARNING
“If you’re not completely trained or sure how to sleep with a firearm … , PLEASE DO NOT DO IT ! It can , or might cost you your life!”
Another reason I do, do it is because I have young children in my home. I keep easy access for me & keep them completely away from it. I don’t trust thumb print / or RFID key fobs. Regular keys too noisy, and if someone invades it only takes them seconds to spread across the house quickly if there’s a team doing it.
Anyone that’s been trained will confirm this with MOUT Training ( clearing rooms).
Be safe and use your own discretion. What works for me may not be appropriate for you or your circumstances.