Get the seller to pay for a home warranty. I've bought three houses and every time I've had something major go wrong within the first year that was within the scope of the warranty. Saved me thousands. Now, it may be that you never use the warranty put the peace of mind is also nice.
If you buy a newly constructed home, check the lot drainage and foundation compaction before signing on the line.