guix/gnu/services
Attila Lendvai e11517052b
services: configuration: Support (field1 maybe-number "") format.
As opposed to explicitly using 'disabled as value, or using the
(field1 (maybe-number) "") format.

It's mostly the work of Maxime Devos shared under #54674, with some
modifications by Attila Lendvai.

* gnu/services/configuration.scm (normalize-field-type+def): New function.
(define-configuration-helper) (define-configuration): Support new field
format.
* tests/services/configuration.scm (config-with-maybe-number->string): New
function.
("maybe value serialization of the instance"): New test.
("maybe value serialization of the instance, unspecified"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
..
admin.scm services: rottlog: Keep fewer "guix-daemon.log" files. 2022-04-09 00:30:40 +02:00
audio.scm
auditd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
authentication.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
avahi.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
base.scm services: guix: Generalize extensions. 2022-06-13 12:27:35 +02:00
certbot.scm services: certbot: Add option to use CSR file. 2021-06-24 18:19:39 -04:00
cgit.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
ci.scm services: laminar: Set LAMINAR_BIND_RPC environment variable. 2022-01-11 11:47:42 +05:30
configuration.scm services: configuration: Support (field1 maybe-number "") format. 2022-06-15 00:25:21 +02:00
cuirass.scm services: cuirass: Also rotate the web log. 2022-02-17 13:39:02 -05:00
cups.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
databases.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
dbus.scm services: dbus: Add a VERBOSE? configuration option. 2022-06-14 14:23:21 -04:00
desktop.scm services: elogind: When started by dbus-daemon, wait for the Shepherd service. 2022-05-28 23:23:36 +02:00
dict.scm services: Make sure Shepherd destructors match constructors. 2022-05-02 17:57:30 +02:00
dns.scm services: ddclient: No need to import (ice-9 rdelim) from the host. 2022-06-04 00:11:44 +02:00
docker.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
file-sharing.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
games.scm services: wesnothd: Use 'least-authority-wrapper'. 2022-05-01 21:30:36 +02:00
ganeti.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
getmail.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
guix.scm services: guix-data-service: Increase timeout for service start. 2022-06-05 23:35:31 +02:00
herd.scm services: herd: Add 'wait-for-service'. 2022-05-28 23:23:36 +02:00
hurd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
kerberos.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
linux.scm system: Align zram priority with swap-space spec to clarify. 2022-06-11 00:57:13 -04:00
lirc.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
mail.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
mcron.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
messaging.scm services: bitlbee: Run under a UTF-8 locale. 2022-06-04 00:11:45 +02:00
monitoring.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
networking.scm gnu: Remove wicd. 2022-05-31 14:53:42 -04:00
nfs.scm services: pipefs: Correctly handle lack of extensions. 2022-05-03 18:02:27 +02:00
nix.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
pam-mount.scm services: pam-mount: Add support for sddm login manager. 2022-01-17 00:13:46 +01:00
pm.scm services: thermald: Add 'adaptive?' field. 2022-03-20 16:40:22 +01:00
rsync.scm services: rsync: Allow configuring several rsync "modules". 2021-12-21 15:47:03 +01:00
science.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sddm.scm
security-token.scm services: pcscd: Fix daemon signal handling. 2021-07-03 20:13:42 +02:00
shepherd.scm services: shepherd: Do not unload transient services. 2022-04-10 00:17:40 +02:00
sound.scm services: pulseaudio: Deploy the configuration files to /etc/pulse. 2022-02-26 09:03:01 -05:00
spice.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
ssh.scm services: openssh: Remove authorized_keys.d before copying the new one. 2022-05-26 17:00:33 +02:00
syncthing.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sysctl.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
telephony.scm services: jami-configuration: Rename 'jamid' field to 'libjami'. 2022-06-10 23:52:34 -04:00
version-control.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
virtualization.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
vpn.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
web.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
xorg.scm services: xorg: Remove xf86-input-synaptics from %default-xorg-modules. 2022-03-25 18:42:14 +01:00