As everywhere else, the closer you are to the profit centres, the more you get paid: e.g. exchange connectivity specialist at an HFT shop, devops maintaining the plumbing and infra for ML systems, data wrangling specialist etc. Also, some funds are notorious for having made weird decisions regarding their main programming language (e.g. ocaml or q/kdb), so being a language specialist can also prove lucrative.
You can also look to join a trading team inside a fund - the ceiing is much higher on what you can be paid, but it's a lot riskier too. Generally, working on the infra side of a highly sophisticated algo fund is less risky.