Shared publicly  - 
If you use the #NVIDIA  Linux drivers, thanks to +Thierry Reding's OutputClass patches, starting with xorg-server- you can put this snippet in /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d and dispense with xorg.conf entirely.  I'm hoping to make nvidia-installer create this automatically when it detects a sufficiently new X server.  If you're a distribution package maintainer, you can do this too instead of patching the server to auto-load the NVIDIA driver.

Note that it only works if nvidia.ko is loaded before the server starts.

# cat > /usr/share/X11/xorg.conf.d/nvidia.conf <<EOF
Section "OutputClass"
  Identifier "nvidia"
  MatchDriver "nvidia-drm"
  Driver "nvidia"
author, Thierry Reding , 2014-02-13 12:54:23 (GMT). committer, Keith Packard , 2014-07-07 23:12:41 (GMT). commit, eeefecd9df88920d4dca4100a84a135f7f53dd82 (patch) (side-by-side diff). tree, 319146e440bde0154523a1349496f4669b2646c9 ...
Simone Caronni's profile photo
This is very nice... I don't have a distribution with xorg server 1.16 installed, is there a way to specify additional driver options in the OutputClass section? Otherwise for adding options one needs to create additional xorg snippets.

For example, in my xorg.conf I have the following:

Section "Device"
    Identifier  "Device0"
    Driver      "nvidia"
    Option      "NoLogo" "true"
    Option      "DPI" "96 x 96"
Add a comment...