split ubuntu and mac config