From 1bd8ced9c0eb4002ffa2afb3e4a60c5bccfc28ef Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 8 May 2014 20:20:12 +0200 Subject: [PATCH] Don't enable the NVIDIA driver by default because it's unfree --- nixos/modules/installer/tools/nixos-generate-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 804de8b25d8..23f9c3a4ca0 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -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/*") {