A year or so ago I had lots of ants coming in and helping my cats eat their dry food. So on a whim I put down some white breath mints that came in individual little plastic packets in a big bag.
I forget the brand name. The ants left and I've never seen any in my house since.
Since they were a big hit in the house, I put some on an ant's nest outdoors, and they swarmed all over them and loved the mint flavor. I had to resort to my tried and true Sugar and Boric Acid mixture to get rid of them.