guix-play/gnu
Bruno Victal 8a7d44be81
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-12 08:26:25 -04:00
..
bootloader
build file-systems: Validate 'no-diratime flag. 2023-02-26 01:00:07 +01:00
home services: replace bare serializers with (serializer ...) 2023-04-12 08:26:24 -04:00
installer
machine
packages gnu: Add python-clingraph. 2023-04-12 08:26:24 -04:00
services services: mpd: Use proper records for user and group fields. 2023-04-12 08:26:25 -04:00
system linux-container: Remove hosts-service-type when network is shared. 2023-03-26 14:15:16 +01:00
tests Merge branch 'master' into staging 2023-03-31 10:48:54 -04: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-12 08:26:24 -04:00
machine.scm
packages.scm
services.scm services: etc-service: Deprecate etc-service procedure. 2023-03-16 12:37:03 +01:00
system.scm system: Remove obsolete GUIX_LOCPATH workaround. 2023-03-30 23:18:16 +02:00
tests.scm