guix/gnu
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
..
bootloader
build
home services: replace bare serializers with (serializer ...) 2023-04-02 12:35:30 +02:00
installer
machine
packages gnu: Add python-clingraph. 2023-04-02 11:19:21 +02:00
services services: mpd: Use proper records for user and group fields. 2023-04-02 12:35:30 +02:00
system linux-container: Remove hosts-service-type when network is shared. 2023-03-26 14:15:16 +01:00
tests services: pam-limits-service-type: Deprecate file-like object support in favour for lists as service value. 2023-03-30 23:18:16 +02:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm home: 'home-environment-with-provenance' uses the HE location info. 2023-03-20 09:14:23 +04:00
image.scm
installer.scm
local.mk gnu: Separate potassco packages into their own module. 2023-04-02 11:19:21 +02:00
machine.scm
packages.scm
services.scm
system.scm system: Remove obsolete GUIX_LOCPATH workaround. 2023-03-30 23:18:16 +02:00
tests.scm