2006 Nissan Xtrail 2.5L 4x4

My car has telltale symptoms of a cracked head gasket, and has another issue that i was recommended to scrap the car rather than fix. exterior / interior solid condition but not worth much beyond that, likely scrap

what are the consequences of driving with a cracked head gasket? can i drive it until it won’t start or am i risking grinding to a halt on the road? (would never be more than 25km from a scrap yard for a tow)