mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +03:00
* NVIDIA support.
svn path=/nixos/trunk/; revision=10409
This commit is contained in:
parent
8e94f3ad67
commit
8ea2ce37c8
@ -113,6 +113,10 @@ sub pciCheck {
|
||||
$device eq "0x7125" ||
|
||||
$device eq "0x7128"
|
||||
);
|
||||
|
||||
# Assume that all NVIDIA cards are supported by the NVIDIA driver.
|
||||
# There may be exceptions (e.g. old cards).
|
||||
$videoDriver = "nvidia" if $vendor eq "0x10de" && $class =~ /^0x03/;
|
||||
}
|
||||
|
||||
foreach my $path (glob "/sys/bus/pci/devices/*") {
|
||||
|
Loading…
Reference in New Issue
Block a user