* Move the default value of videoDrivers into the default field of the

option.  Otherwise, the system may depends on unused/unsupported
  softwares and users will be force to use properties in their
  configuration.nix file to override this default value. (too complex for
  new users)

svn path=/nixos/trunk/; revision=18288
This commit is contained in:
Nicolas Pierron 2009-11-08 16:01:22 +00:00
parent 37470cccc5
commit 616c844336

View File

@ -179,7 +179,9 @@ in
};
videoDrivers = mkOption {
default = [];
# !!! We'd like "nv" here, but it segfaults the X server. Idem for
# "vmware".
default = [ "ati" "cirrus" "intel" "vesa" ];
example = [ "vesa" ];
description = ''
The names of the video drivers that the X server should
@ -496,10 +498,6 @@ in
'')}
'';
# The default set of supported video drivers. !!! We'd like "nv"
# here, but it segfaults the X server. Idem for "vmware".
services.xserver.videoDrivers = [ "ati" "cirrus" "intel" "vesa" ];
};
}