Actually neither. I keep a 6" gp100 357 magnum in the nightstand and usually have a full size M&P in 357 Sig on my hip. I prefer a pistol on me to a rifle or shotgun in the other room, especially with the corners and hallways in my house and the need to protect the kids at the other end of it and upstairs.
That said, a rifle or shotgun is a superior weapon, no question. I have always said that if the circumstances allow, the best plan for defence in the home is to get behind the bed with a 12 gauge or rifle pointed at the door. That is a VERY advantageous position.