What exactly does the の do in this sentence?

> 男役ばかりな[の]{L}を気にしてんのか
CC BY-SA 4.0
2021-07-09T15:52:58.040
87413
2022-04-28T01:39:35.370
2022-04-28T01:39:35.370
9831
45486
question
grammar nominalization
What exactly does the の do in this sentence?