I'm like two hours away and just realised my passport will expire in September.
Yes, the passport only needs to be valid throughout your stay. If you need to stay longer, you could also renew your passport through your country's consulate. I don't have a reference at hand but I think EU countries cannot impose any requirement to EU citizens beyond having a valid passport or national ID card (i.e. no three or six months of validity).