guix-play/doc
Bruno Victal 7fdadeac11
services: mpd: Use proper records for user and group fields.
Deprecate using strings for these fields and prefer user-account
(resp. user-group) instead to avoid duplication within account-service-type.

Fixes #61570 <https://issues.guix.gnu.org/61570>.

* gnu/services/audio.scm (%mpd-user, %mpd-group)
(mpd-serialize-user-account, mpd-serialize-user-group)
(mpd-user-sanitizer, mpd-group-sanitizer): New variables.
(mpd-configuration)[user]: Use user-account as value type.
Sanitize via mpd-user-sanitizer.
[group]: Use user-group as value type.
Sanitize via mpd-group-sanitizer.
(mpd-shepherd-service): Adjust accordingly.
(mpd-accounts): Likewise.
* doc/guix.texi (Audio Services)[Music Player Daemon]: Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-04-02 12:35:30 +02:00
..
images doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
build.scm doc: Build pt_BR manual. 2022-11-15 12:16:44 +01:00
contributing.texi doc: Mention Python 2 packages should not be added anymore. 2023-03-23 22:15:27 -04:00
environment-gdb.scm doc: Update "guix shell -D -f" example to new input style. 2022-01-14 22:39:24 +01:00
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi doc: cookbook: Add "Installing Guix on a Cluster" chapter. 2023-01-09 17:40:53 +01:00
guix.texi services: mpd: Use proper records for user and group fields. 2023-04-02 12:35:30 +02:00
he-config-bare-bones.scm doc: Update example of a minimalistic home environment. 2022-06-10 22:42:49 +02:00
htmlxref.cnf doc: Update URLs for the manual and cookbook translations. 2022-12-18 16:01:32 +01:00
local.mk doc: Build more man pages. 2022-11-19 19:54:14 +01:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm