a Yard Attractive to Snakes?
This is the part that matters most.
If you want fewer snakes around your property, focus less on making your yard smell unpleasant and more on removing food, shelter, and easy access.
Snakes often appear where their prey is abundant.
That can include rodents, frogs, insects, lizards, and other small animals.
A yard with tall grass, piles of leaves, wood, rocks, dense vegetation, or clutter can also provide excellent hiding places.
Consider:
Keep grass and vegetation trimmed.
Remove piles of wood, debris, and unused materials.