Yes, snakes like to settle near water bodies, especially when it’s hot. I was helped by an article about
what repels snakes. There are detailed natural plants that they do not tolerate - rosehip, lavender, rosemary and garlic. You can also use cinnamon and cedar oils - just mix them with water and spray around the garden. The main thing is to keep the area dry and clean. If possible, put a small net around the plot so they can’t get in. I have this method worked well, and no snakes have been seen for two years.