services/vfs-mapping: Fix default name.

* gnu/services/linux.scm (vfs-mapping): Fix vfs-mapping default name.

Fixes: #1953
Change-Id: I7e05cc19d9dbcd7a4ccb86ee009ee947349738da
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
Edouard Klein 2025-09-19 18:40:54 +02:00 committed by Maxim Cournoyer
parent 3559381d6e
commit 43e5e856e1
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -651,10 +651,9 @@ placed in a udev rules file."
(group vfs-mapping-group
(default "users"))
(name vfs-mapping-name
(default (string-append
(vfs-mapping-source this-record) "-["
(vfs-mapping-policy this-record) "]->"
(vfs-mapping-destination this-record)))
(default (format #f "~a-on-~a"
(vfs-mapping-policy this-record)
(vfs-mapping-destination this-record)))
(thunked))
(requirement vfs-mapping-requirement
(default '(file-systems user-homes))))