Hello Felipe, welcome to MongoDB Community!
For set the oplog size you need to disable the storage autoscaling, like in this documentation: https://www.mongodb.com/docs/atlas/cluster-additional-settings/#set-oplog-size
Let me know if you have any further questions ;D