How to enable s3 generic storage as primary

Hello,

I am trying to make s3 the storage used as primary but the instructions are a little confusing if I’m being honest. I created the droplet using this tutorial from DigitalOcean. How To Install and Configure Nextcloud on Ubuntu 22.04 | DigitalOcean

Once that is done I try and login to view the file manager so I can find the config file to make these changes. I cannot find the file for it and I am unsure on how to go about editing the code with the instructions here: Configuring Object Storage as Primary Storage — Nextcloud latest Administration Manual latest documentation

Can someone please help? Here is a picture of the file explorer.

Is this what should be added to the config file:

'objectstore' => [
        'class' => '\OC\Files\ObjectStore\S3',
        'arguments' => [
                ...
        ],
],