Adding nvidiaLegacy xorg option for suspend to work
svn path=/nixos/trunk/; revision=17785
This commit is contained in:
parent
8457873334
commit
a347979be5
|
@ -486,6 +486,10 @@ in
|
||||||
Identifier "Device[0]"
|
Identifier "Device[0]"
|
||||||
Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" else cfg.videoDriver}"
|
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?
|
# !!! Is the "Clone" option still useful?
|
||||||
Option "Clone" "${if cfg.isClone then "on" else "off"}"
|
Option "Clone" "${if cfg.isClone then "on" else "off"}"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue