summaryrefslogtreecommitdiff
path: root/gnu/home/services
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2022-12-19 15:02:20 +0400
committerAndrew Tropin <andrew@trop.in>2022-12-19 15:11:40 +0400
commit77ef82ce93e088e3d810b394b7cacd33f0d2de85 (patch)
treeef4eda98d6f58a0a7236fdc598eaef2eb406fbca /gnu/home/services
parent3a9653166462a961eb4c2d140bd2440ec9cadd25 (diff)
home: xdg: Make it possible to extend user-directories service.
* gnu/home/services/xdg.scm (home-xdg-user-directories-service-type): Make it possible to override user-directories configuration by extending.
Diffstat (limited to 'gnu/home/services')
-rw-r--r--gnu/home/services/xdg.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/home/services/xdg.scm b/gnu/home/services/xdg.scm
index 865f8b81d7..fb2dbb393e 100644
--- a/gnu/home/services/xdg.scm
+++ b/gnu/home/services/xdg.scm
@@ -245,6 +245,8 @@ pre-populated content.")
home-activation-service-type
home-xdg-user-directories-activation-service)))
(default-value (home-xdg-user-directories-configuration))
+ (compose identity)
+ (extend last-extension-or-cfg)
(description "Configure XDG user directories. To
disable a directory, point it to the $HOME.")))