mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: sddm: Set some environment variables for the breeze theme.
* gnu/services/sddm.scm (sddm-service-type): Pass #:environment-variables to make-forkexec-constructor. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
3e5192e6bb
commit
7e056197d7
1 changed files with 10 additions and 1 deletions
|
@ -171,7 +171,16 @@ (define sddm-command
|
|||
(documentation "SDDM display manager.")
|
||||
(requirement '(user-processes elogind pam))
|
||||
(provision '(xorg-server display-manager))
|
||||
(start #~(make-forkexec-constructor #$sddm-command))
|
||||
(start #~(make-forkexec-constructor
|
||||
#$sddm-command
|
||||
;; some theme need icon,qml,data so add path to env.
|
||||
#:environment-variables
|
||||
(cons*
|
||||
"XDG_DATA_DIRS=/run/current-system/profile/share"
|
||||
"XDG_CONFIG_DIRS=/run/current-system/profile/etc/xdg"
|
||||
"QT_PLUGIN_PATH=/run/current-system/profile/lib/qt5/plugins"
|
||||
"QML2_IMPORT_PATH=/run/current-system/profile/lib/qt5/qml"
|
||||
(default-environment-variables))))
|
||||
(stop #~(make-kill-destructor)))))
|
||||
|
||||
(define (sddm-etc-service config)
|
||||
|
|
Loading…
Reference in a new issue