summary refs log tree commit diff
path: root/nixos/modules/services/x11/xserver.nix
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2021-06-17 04:06:26 +0200
committerNiklas Hambüchen <mail@nh2.me>2021-06-17 04:08:21 +0200
commit65d318033683154a9e607ab1bf3dff61cfe025d9 (patch)
tree4517caf5b9d6458d62b27a917ccadcccfdd5ed60 /nixos/modules/services/x11/xserver.nix
parent1ffadaa858be623d87ce0c7907db6e72bee86451 (diff)
downloadnixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar.gz
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar.bz2
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar.lz
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar.xz
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.tar.zst
nixpkgs-65d318033683154a9e607ab1bf3dff61cfe025d9.zip
services.xorg.config: Extend docs
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r--nixos/modules/services/x11/xserver.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 4dde4476d2c..124f3eb3132 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -358,6 +358,13 @@ in
         description = ''
           The contents of the configuration file of the X server
           (<filename>xorg.conf</filename>).
+
+          This option is set by multiple modules, and the configs are
+          concatenated together.
+
+          In Xorg configs the last config entries take precedence,
+          so you may want to use <literal>lib.mkAfter</literal> on this option
+          to override NixOS's defaults.
         '';
       };