Each sheriff who operates a correctional facility is authorized to provide for the establishment and operation of a store or commissary to deal in such articles and services as he deems proper. The net profits from the operation of such store that are generated from the inmates' accounts shall be used within the facility for educational, recreational or medical purposes for the benefit of the inmates to include behavioral health, substance abuse, reentry, and rehabilitative services for the benefit of inmates and may be expended to pay for the training, salaries, and benefits of employees or contractors whose primary job is to provide such programs and services to the inmates. The sheriff shall be the purchasing agent in all matters involving the commissary and nonappropriated funds received from inmates. The funds from such operation of a store or commissary and from the inmate telephone services account shall be considered public funds.
Va. Code § 53.1-127.1