After trying quite a bit I could not find a way to set
(setq org-latex-listings 'minted)
file local. I tried putting it in a source block and as a file local variable, both did not work. The only way I could get it to work was by setting it in my global config, or by running the above command manually before exporting.
Because I like to make my documents as portable as possible, I really would like to set this on a per file basis, is this possible?