services: xorg: Allow users to specify a list of modules.
authorLudovic Courtès <ludo@gnu.org>
Sat, 25 Nov 2017 17:28:08 +0000 (18:28 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 28 Nov 2017 09:46:03 +0000 (10:46 +0100)
commitd344f5a528791cc8ee46b4506ff4ec49489108ee
tree1d34ce632b31b243852740301b894fcb47f40486
parent04c35737268059ae45e68206e508f0af951ef295
services: xorg: Allow users to specify a list of modules.

* gnu/services/xorg.scm (%default-xorg-fonts): New variable.
(xorg-configuration-file): Add #:modules and #:fonts.  Rewrite to return
a 'computed-file' that honors MODULES and FONTS.
(xorg-wrapper): Pass #:modules to 'xorg-configuration-file'.
(xorg-start-command): Add #:fonts.  Pass #:fonts and #:modules to
'xorg-configuration-file'.
* doc/guix.texi (X Window): Adjust documentation of 'xorg-start-command'
and 'xorg-configuration-file'.
doc/guix.texi
gnu/services/xorg.scm