Adding nvidiaLegacy xorg option for suspend to work
svn path=/nixos/trunk/; revision=17785
This commit is contained in:
parent
8457873334
commit
a347979be5
1 changed files with 4 additions and 0 deletions
|
@ -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"}"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue