mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos: xserver: add related packages
This commit is contained in:
parent
2a5688574c
commit
b01ccbb899
1 changed files with 7 additions and 0 deletions
|
@ -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