nixpkgs/nixos/modules/services
Naïm Favier 0e347b1a77
nixos/xserver: respect module order
Reimplement the `ModulePath` generation logic by only adding the
`/lib/xorg/modules` subpath for each module, in the specified order.

In particular, hardware-specific drivers are listed *before*
`xorgserver`, which fixes https://github.com/NixOS/nixpkgs/issues/299684.

This also keeps the list reproducible, as wanted by https://github.com/NixOS/nixpkgs/pull/230186.

I have confirmed that X is able to find `.so` files recursively within
the `ModulePath`, so that there is no need to include subdirectories of
`/lib/xorg/modules`. Furthermore, I don't expect there to be a need to
include directories *outside* of `/lib/xorg/modules`, as the default
`ModulePath` on standard distributions is `/usr/lib/xorg/modules`.
(see https://www.x.org/releases/current/doc/man/man5/xorg.conf.5.xhtml#heading4)
2024-03-28 23:17:52 +01:00
..
admin pgadmin: 8.1 -> 8.2 2024-01-13 09:54:32 +01:00
amqp nixos/rabbitmq: Rename cookie -> unsafeCookie 2024-02-04 21:41:29 +01:00
audio treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
backup treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
blockchain/ethereum treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
cluster kubelet: Set Kubelet Parameters Via A intermediate Configuration File 2024-02-23 08:55:02 +01:00
computing Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption 2023-11-30 02:49:30 +01:00
continuous-integration nixos/hydra: add option for starman workers 2024-02-27 15:45:20 +01:00
databases treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
desktop-managers plasma6: also install base kio5 2024-03-21 15:19:44 +03:00
desktops treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
development treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
display-managers nixos/greetd: create display-manager.service alias 2024-03-23 16:33:16 +03:00
editors treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
finance treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
games Merge pull request #263765 from numinit/armagetronad-module 2024-03-01 00:46:34 +01:00
hardware brscan5: fix sane config path 2024-03-28 16:02:51 +01:00
home-automation Merge pull request #292412 from bobrippling/fix/ebusd-logging 2024-03-02 11:46:35 +00:00
logging nixos: fix a bunch of services missing dep on network-online.target 2024-01-19 00:11:34 -08:00
mail treewide: Mark Nix blocks in markdown as Nix 2024-03-28 09:28:12 +01:00
matrix treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
misc treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
monitoring treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
network-filesystems treewide: Mark Nix blocks in markdown as Nix 2024-03-28 09:28:12 +01:00
networking treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
printing nixos/cupsd: allow cups package override 2023-12-28 08:58:01 -08:00
scheduling
search treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
security Merge pull request #297346 from codingCoffee/usbguard-fix 2024-03-27 18:52:43 +01:00
system automatic-timezoned: 1.0.148 -> 2.0.0 2024-02-18 15:01:25 -08:00
torrent nixos/transmission: fix log level bounds to match the transmission wiki 2024-02-18 23:45:10 +11:00
tracing
ttys
video Merge pull request #286685 from max-niederman/photonvision 2024-03-24 22:05:36 +01:00
wayland
web-apps treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
web-servers treewide: Mark Nix blocks in markdown as Nix 2024-03-28 09:28:12 +01:00
x11 nixos/xserver: respect module order 2024-03-28 23:17:52 +01:00