NVIDIA: Difference between revisions
imported>Rkitover m listing modesetting in videoDrivers on unstable breaks the configuration |
imported>Jonringer Give example of legacy nvidia drivers |
||
| Line 280: | Line 280: | ||
export EXTRA_CCFLAGS="-I/usr/include" | export EXTRA_CCFLAGS="-I/usr/include" | ||
''; | ''; | ||
} | |||
</nowiki>}} | |||
== Legacy Drivers == | |||
Older nvidia cards require legacy drivers to work correctly. For NixOS 21.05 and unstable: | |||
{{file|configuration.nix|nix|<nowiki> | |||
{ | |||
services.xserver.videoDrivers = [ "nvidia" ]; | |||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_390; | |||
} | } | ||
</nowiki>}} | </nowiki>}} | ||