Debian Linux on Dell Latitude E6520

Lately I had opportunity to up a brand new Debian system on Dell Latitude E6520 laptop. Almost everything worked out of the box! Almost, because I spent some time on figuring out how to make the nvidia driver to work... and how to enable video over HDMI interface. To save you some struggle here is the step-by-step instruction how to make it work. BTW it should work also in Ubuntu systems.

NVidia output via HDMI