That’s the correct file.
Try sudo nano MagicMirror/config/config.js
if you haven’t used sudo, that gives you advanced rights.
Did you create config.js? I have a suspicion. At the beginning, there’s no config.js, you have to create it. But there’s a sample file.
Let’s check.
You’re in the dir MagicMirror,
cd config
change the directory to config
ls
list the dir contents. There should be a config.js.sample. If there is also a config.js, ignore the next step.
sudo cp config.js.sample config.js
makes a copy of config.js.sample and creates config.js
ls
should now show both files.
sudo nano config.js
to edit the config.js