Move all gfx related config to a separate file