nixos: xserver: add related packages
This commit is contained in:
parent
2a5688574c
commit
b01ccbb899
@ -244,6 +244,13 @@ in
|
|||||||
"ati_unfree" "amdgpu" "amdgpu-pro"
|
"ati_unfree" "amdgpu" "amdgpu-pro"
|
||||||
"nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
|
"nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
|
||||||
];
|
];
|
||||||
|
# TODO(@oxij): think how to easily add the rest, like those nvidia things
|
||||||
|
relatedPackages = concatLists
|
||||||
|
(mapAttrsToList (n: v:
|
||||||
|
optional (hasPrefix "xf86video" n) {
|
||||||
|
path = [ "xorg" n ];
|
||||||
|
title = removePrefix "xf86video" n;
|
||||||
|
}) pkgs.xorg);
|
||||||
description = ''
|
description = ''
|
||||||
The names of the video drivers the configuration
|
The names of the video drivers the configuration
|
||||||
supports. They will be tried in order until one that
|
supports. They will be tried in order until one that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user