generate config for linux