mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: gdm: Add environment variables.
While not an optimal solution (see comment), this makes GDM functional. * gnu/services/xorg.scm (gdm-shepherd-service): Set PATH and XDG_DATA_DIRS environment variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
51bc8357e8
commit
3eda8dd614
1 changed files with 8 additions and 1 deletions
|
@ -573,7 +573,14 @@ (define (gdm-shepherd-service config)
|
|||
#:environment-variables
|
||||
(list (string-append
|
||||
"GDM_X_SERVER="
|
||||
#$(gdm-configuration-x-server config))))))
|
||||
#$(gdm-configuration-x-server config))
|
||||
;; XXX: GDM requires access to a handful of
|
||||
;; programs and components from Gnome (gnome-shell,
|
||||
;; dbus, and gnome-session among others). The
|
||||
;; following variables only work provided Gnome is
|
||||
;; installed.
|
||||
"XDG_DATA_DIRS=/run/current-system/profile/share"
|
||||
"PATH=/run/current-system/profile/bin"))))
|
||||
(stop #~(make-kill-destructor))
|
||||
(respawn? #t))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue