Retirement tax questions

Does the entire amount withdrawn have to go to the downpayment or can part of it be used to do things like paint and buy new appliances on the purchased home?