git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #127166 from nh2/xserver-config-mkAfter-docs

services.xorg.config: Extend docs

commit4bd5f1115f55fbc426bcb8b1f088e554f5882cde authorNiklas Hambüchen <mail@nh2.me> dateWed 23 Jun 2021, 01:55 (5 years ago) parente85693a65d3180
1 file changed+7
nixos/modules/services/x11/xserver.nix+7
nixos/modules/services/x11/xserver.nix+7
@@ -357,6 +357,13 @@ in
357357 description = ''
358358 The contents of the configuration file of the X server
359359 (<filename>xorg.conf</filename>).
360+
361+ This option is set by multiple modules, and the configs are
362+ concatenated together.
363+
364+ In Xorg configs the last config entries take precedence,
365+ so you may want to use <literal>lib.mkAfter</literal> on this option
366+ to override NixOS's defaults.
360367 '';
361368 };
362369