3
0
Fork 0
forked from mirrors/nixpkgs

Don't enable the NVIDIA driver by default because it's unfree

This commit is contained in:
Eelco Dolstra 2014-05-08 20:20:12 +02:00
parent 08834b061c
commit 1bd8ced9c0

View file

@ -159,7 +159,7 @@ sub pciCheck {
# Assume that all NVIDIA cards are supported by the NVIDIA driver.
# There may be exceptions (e.g. old cards).
# FIXME: do we want to enable an unfree driver here?
$videoDriver = "nvidia" if $vendor eq "0x10de" && $class =~ /^0x03/;
#$videoDriver = "nvidia" if $vendor eq "0x10de" && $class =~ /^0x03/;
}
foreach my $path (glob "/sys/bus/pci/devices/*") {