Merge pull request #64948 from ambrop72/videodrivers-radeon-alias
nixos/xserver: Make radeon in videoDrivers an alias for ati.
This commit is contained in:
commit
ea8fc75160
@ -14,6 +14,9 @@ let
|
|||||||
# Alias so people can keep using "virtualbox" instead of "vboxvideo".
|
# Alias so people can keep using "virtualbox" instead of "vboxvideo".
|
||||||
virtualbox = { modules = [ xorg.xf86videovboxvideo ]; driverName = "vboxvideo"; };
|
virtualbox = { modules = [ xorg.xf86videovboxvideo ]; driverName = "vboxvideo"; };
|
||||||
|
|
||||||
|
# Alias so that "radeon" uses the xf86-video-ati driver.
|
||||||
|
radeon = { modules = [ xorg.xf86videoati ]; driverName = "ati"; };
|
||||||
|
|
||||||
# modesetting does not have a xf86videomodesetting package as it is included in xorgserver
|
# modesetting does not have a xf86videomodesetting package as it is included in xorgserver
|
||||||
modesetting = {};
|
modesetting = {};
|
||||||
};
|
};
|
||||||
@ -241,7 +244,7 @@ in
|
|||||||
videoDrivers = mkOption {
|
videoDrivers = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
# !!! We'd like "nv" here, but it segfaults the X server.
|
# !!! We'd like "nv" here, but it segfaults the X server.
|
||||||
default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
|
default = [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ];
|
||||||
example = [
|
example = [
|
||||||
"ati_unfree" "amdgpu" "amdgpu-pro"
|
"ati_unfree" "amdgpu" "amdgpu-pro"
|
||||||
"nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
|
"nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user