guix/gnu/services
Maxim Cournoyer a2b89a3319
services: configuration: Step back from *unspecified*.
Fixes <https://issues.guix.gnu.org/56799>.

This partially reverts 8cb1a49a39.

Rationale: *unspecified* cannot be serialized thus used as a G-Expression
input, which is problematic/inconvenient when using deeply nested records.  As
an example, jami-service-type was broken when using partially defined
<jami-account> records.

* gnu/services/configuration.scm (define-maybe-helper): Check against the
'unset symbol.
(normalize-field-type+def): Adjust value to 'unset.
(define-configuration-helper): Use 'unset as the default value thunk.
* gnu/services/file-sharing.scm (serialize-maybe-string): Check against the
'unset symbol.
(serialize-maybe-file-object): Likewise.
* gnu/services/messaging.scm (define-all-configurations): Use 'unset as
value.
(raw-content?): Check against 'unset symbol.
(prosody-configuration)[http-max-content-size]: Default to 'unset.
[http-external-url]: Likewise.
[mod-muc]: Likewise.
[raw-content]: Likewise.
* gnu/services/networking.scm (opendht-configuration): Adjust documentation.
* gnu/services/telephony.scm (jami-shepherd-services): Replace *undefined*
with the 'unset symbol.
* tests/services/configuration.scm ("maybe type, no default"): Check against
the 'unset symbol.
* doc/guix.texi: Regenerate the opendht-configuration,
openvpn-client-configuration and openvpn-server-configuration documentation.
2022-08-01 12:49:35 -04:00
..
admin.scm services: rottlog: More convenient default options for <log-rotation>. 2022-08-01 00:02:04 +02:00
audio.scm
auditd.scm
authentication.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
avahi.scm
base.scm services: root-file-system: Cleanly unmount upon shutdown. 2022-07-01 12:10:28 +02:00
certbot.scm
cgit.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
ci.scm
configuration.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
cuirass.scm services: rottlog: More convenient default options for <log-rotation>. 2022-08-01 00:02:04 +02:00
cups.scm
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 gnu: desktop: Add seatd-service-type. 2022-06-17 10:30:43 +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: docker: Fix race condition. 2022-07-13 21:36:41 -04:00
file-sharing.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
games.scm services: wesnothd: Use 'least-authority-wrapper'. 2022-05-01 21:30:36 +02:00
ganeti.scm
getmail.scm
guix.scm gnu: tests: Fix guix-data-service test. 2022-07-15 09:38:42 +01:00
herd.scm services: herd: Add 'wait-for-service'. 2022-05-28 23:23:36 +02:00
hurd.scm
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: opensmtpd: Make commands setgid to "smtpq" by default. 2022-08-01 14:08:08 +02:00
mcron.scm
messaging.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
monitoring.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
networking.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
nfs.scm services: pipefs: Correctly handle lack of extensions. 2022-05-03 18:02:27 +02:00
nix.scm
pam-mount.scm gnu: base: Add greetd-service-type. 2022-06-17 10:30:41 +02:00
pm.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
rsync.scm
science.scm
sddm.scm
security-token.scm
shepherd.scm
sound.scm
spice.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
ssh.scm services: openssh: Listen on IPv6 only when IPv6 is supported. 2022-07-01 23:29:16 +02:00
syncthing.scm
sysctl.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
telephony.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
version-control.scm
virtualization.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
vpn.scm services: configuration: Remove 'validate-configuration'. 2022-06-24 23:18:21 +02:00
web.scm services: Add anonip-service-type. 2022-07-03 14:12:32 +02:00
xorg.scm