US Department of Homeland Security Secretary Kirstjen Nielsen will be leaving her post, President Donald Trump tweeted on Sunday, with a follow-up tweet that said Kevin McAleenan would become acting secretary.