services: gdm: Allow for custom X session scripts.
authorTimothy Sample <samplet@ngyro.com>
Wed, 13 Feb 2019 19:22:21 +0000 (14:22 -0500)
committerLudovic Courtès <ludo@gnu.org>
Sat, 16 Feb 2019 23:04:57 +0000 (00:04 +0100)
commit41fa9f1815685ede0d3fdc1c561d2a9cf0ffb158
tree5c2198f371df0c16c7738073b9af3bdbd73b8cb8
parent7e61419892aa68f7238e50e71f6e69a2e6a53211
services: gdm: Allow for custom X session scripts.

* gnu/packages/gnome.scm (gdm)[arguments]: Update pre-configure phase so
that GDM runs an X session script specified by the variable
GDM_X_SESSION; remove the '--enable-gdm-xsession' configuration
option.
* gnu/services/xorg.scm (<gdm-configuration>): Add 'x-session' field.
(gdm-shepherd-service): Set the GDM_X_SESSION variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/gnome.scm
gnu/services/xorg.scm