There was another thread similar to this recently where someone mentioned Cytisine, a stop-smoking/vaping/nicotining aid in pill form which is mostly fairly easy to find, although prescription in some places, very similar to varenicycline (which I have not tried) as I understand it. I'm currently on my second "cycle" of using it, so to speak, after completely quitting nicotine in all forms but then stupidly readdicting myself a few months later just coz I like to mix tobacco with weed in joints sometimes... or I did, anyway, clearly that's just not gonna work for me anymore.
Anyway, for me the effect is wild, it feels like it completely deletes any craving for nicotine in any form from the first dose. There is an advisory dosing schedule, and recommended duration of treatment, starting out at 6 x 1.5mg / day and gradually reducing over 30 days or so. I didn't stick to that exactly, just kinda took another when I noticed myself feeling a bit "off"... and obviously it doesn't make it impossible to readdict yourself later on but, I'd look into it.