Nigeria has secured a 134-million-dollar (127-million-euro) loan to invest in farming, the government said Thursday, as Africa's most populous nation faces a hunger crisis of staggering proportions.