mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
nixos: xserver: add related packages
This commit is contained in:
parent
2a5688574c
commit
b01ccbb899
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue