Does the Department of the Treasury decide the budgets for all the other departments?

Congress decides it, however the Office of Manpower and Budget of the Exective Office of the President plays a key role in managing it.