The easiest is to use the "nvidia-settings" tool to get the resolution and config you want, and have it write the file out, and put it in place of what you have now . . . Much harder to fatfinger anything that way . . .