Upon the transfer of duties and functions of the county board of supervisors to the county board of education, the county board of supervisors may provide by agreement with the county board of education that the county board of education will perform all or any portion of the duties and functions of the county under this chapter.