The warring sides in Yemen's seven-year conflict have for the first time in years agreed a nationwide truce, which would also allow fuel imports into Houthi-held areas and some flights operating from Sanaa airport, the United Nations envoy said on Friday.