check cider-clojure-cli-aliases, i usually set it in dir locals
https://docs.cider.mx/cider/basics/up_and_running.html#customizing-the-jack-in-command-behavior
I got it to work using the cider-clojure-cli-aliases with the dir-locals setup. Thanks!