Minkowski and (A)dS ground states in general 2d dilaton gravity