I prefer to sleep with the pistol attached to the bed. The holster has an arm that goes between the mattress and box spring with Velcro to hold it in place. It's very comforting to roll over and feel the grip of my favorite 45 in my hand.
I actually have two of these: one has a steel arm for between the mattress and box spring, the other has a flexible, nylon arm which is easier to pack. That's the one that goes into my suitcase when I travel. I'm surprised some holster maker doesn't offer a version in nice leather instead of nylon.
The pistol is a Colt Series 70, 45 ACP with night sights and a beavertail grip safety so I don't bleed all over the gun from hammer bite. I've just started using the Wilson 10 round mag: it would be awkward for carry, but for a fixed installation I sure prefer 11 rounds to 8. I gave it a good workout with Federal 230 gr HPs before I started using it.