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.
This commit is contained in:
Andrew Tropin 2022-12-19 15:02:20 +04:00
parent 3a96531664
commit 77ef82ce93
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -245,6 +245,8 @@ (define home-xdg-user-directories-service-type
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.")))