How to replicate graphics setup from live disk

I have two laptops with NVidia cards and am having issues with stuttering and slowdown which I think is due to the way I have the driver set up. I notice that when using the NixOS live disk things run smoothly. How can I check the way the driver is set up there and replicate it in my system?