Adding nvidiaLegacy xorg option for suspend to work

svn path=/nixos/trunk/; revision=17785
This commit is contained in:
Lluís Batlle i Rossell 2009-10-13 17:52:49 +00:00
parent 8457873334
commit a347979be5

View File

@ -486,6 +486,10 @@ in
Identifier "Device[0]"
Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" else cfg.videoDriver}"
${if cfg.videoDriver == "nvidiaLegacy" then ''
# This option allows suspending with a nvidiaLegacy card
Option "NvAGP" "1"''
else ""}
# !!! Is the "Clone" option still useful?
Option "Clone" "${if cfg.isClone then "on" else "off"}"
'';