Dec 6 (Reuters) - NRG Energy Inc will buy Vivint Smart Home Inc for $2.8 billion in cash, the companies said on Tuesday. (Reporting by Ruhi Soni in Bengaluru Editing by Vinay Dwivedi)