mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
* 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:
parent
37470cccc5
commit
616c844336
@ -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" ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user