mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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]"
|
||||
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 New Issue
Block a user