nixos: xserver: add related packages

This commit is contained in:
Jan Malakhovski 2018-04-25 07:12:04 +00:00
parent 2a5688574c
commit b01ccbb899

View file

@ -244,6 +244,13 @@ in
"ati_unfree" "amdgpu" "amdgpu-pro"
"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 = ''
The names of the video drivers the configuration
supports. They will be tried in order until one that