I have the same problem at the moment and I use Proxmox 5 too.
But if I want to install the package "nvidia-driver" I get the following error message:
root@Proxmox:~# apt-get install nvidia-driver
Reading package lists... Done
Building dependency tree
I just wanted to install ProxMox and got the same error I think.
I got an Samsung Evo 960 M.2 and the Proxmox installer freezes at 0% during the partitioning process.
This only appears in Proxmox 5.0.
I can install Proxmox 4.4 without any problems. It would be nice if this can be fixed. :)