wip

Make os_type a function to be consistent with config v apply