diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-01-16 20:29:28 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-01-25 13:18:26 +0800 |
| commit | 7052c66e14eb64b709f0705bc886bc60bb9c382a (patch) | |
| tree | b5723b86c29018327e36f1d9930bd7e3d5a09cf3 /gnu/services | |
| parent | e00439c93e097fe18f08f48e930aa1d6ad7d474c (diff) | |
services: gdm: Include system profile in XDG_DATA_DIRS.
* gnu/services/xorg.scm (gdm-shepherd-service)
[start] <#:environment-variables>: Add system profile to XDG_DATA_DIRS so that
we can use fonts installed in it.
Change-Id: Idd11fe0a5d5d57db5459a5c2a9471d1bf640a6ef
Diffstat (limited to 'gnu/services')
| -rw-r--r-- | gnu/services/xorg.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index da8f770bded..3dec5877ef8 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm | |||
| @@ -1332,11 +1332,14 @@ argument."))) | |||
| 1332 | ((lambda (ls) (string-join ls ":")) | 1332 | ((lambda (ls) (string-join ls ":")) |
| 1333 | (map (lambda (path) | 1333 | (map (lambda (path) |
| 1334 | (string-append path "/share")) | 1334 | (string-append path "/share")) |
| 1335 | ;; NOTE: Add system profile here so that we can | ||
| 1336 | ;; use fonts installed in it. | ||
| 1335 | ;; XXX: Remove gnome-shell below when GDM | 1337 | ;; XXX: Remove gnome-shell below when GDM |
| 1336 | ;; can depend on GNOME Shell directly. | 1338 | ;; can depend on GNOME Shell directly. |
| 1337 | (cons #$gnome-shell | 1339 | (cons* "/run/current-system/profile" |
| 1338 | '#$(gdm-configuration-gnome-shell-assets | 1340 | #$gnome-shell |
| 1339 | config))))) | 1341 | '#$(gdm-configuration-gnome-shell-assets |
| 1342 | config))))) | ||
| 1340 | ;; Add XCURSOR_PATH so that mutter can find its | 1343 | ;; Add XCURSOR_PATH so that mutter can find its |
| 1341 | ;; cursors. gdm doesn't login so doesn't source | 1344 | ;; cursors. gdm doesn't login so doesn't source |
| 1342 | ;; the corresponding line in /etc/profile. | 1345 | ;; the corresponding line in /etc/profile. |
