If I had an AR, I think the AR pistol would be better inside the home. Not many of us are fending off invaders on our homestead, so you are most likely to be looking at an intruder already inside the house or at the door, and at close quarters, the shorter barrel is going to be an advantage in manuverability.
I've got a 12 gauge, but with that 28" barrel, it is just too long and unwieldy for use inside the rooms and bedroom hallway of my home. So I consider either of my XD-M 9mm's to be primary defense right now. The XD-M 3.8 Compact spends the night in my nightstand, with the extended 19 round magazine in place (so that I have a full grip), and a tactical flashlight next to it. In the morning, I swap for the flush 13 round magazine for carry purposes. Before I got the compact, I kept the XD-M 5.25 next to the bed, but its now locked in its case, and reserved for target practice and "fun" shooting.