GNU/Linux MX Installing NVIDIA GeForce RTX 4060/4060Ti Driver Guide
How to Install NVIDIA GeForce RTX 4060/4060Ti Graphics Driver on MX GNU/Linux Desktop – Step by step Tutorial.
The NVIDIA RTX 4060/4060Ti MX Driver Setup is a breeze, requiring just a few straightforward Shell Commands to complete.
Especially relevant: currently the NVIDIA 520+ Driver is not available in the MX Repos.
So here I propose as an available Solution the latest Generic Linux Driver build from NVIDIA.
Again in case of Installation Issue you should priorly see the Upgrade Kernel Guide.

GNU/Linux MX GeForce RTX 4060/4060Ti Driver Installation Guide