You could try sprinkling some red pepper flakes in the duck feed. It actually has some nutritional benefits for the ducks, but the squirrels won't touch it. You don't need to use a lot, just a light sprinkle, then mix it in.
We keep our feed inside the coop, and our cats and dogs go in and out of the coop just looking for a rodent, so squirrels don't dare.