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
avahi.scm
base.scm
certbot.scm
cgit.scm
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
dbus.scm
desktop.scm
dict.scm
dns.scm
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
ganeti.scm
getmail.scm
guix.scm gnu: tests: Fix guix-data-service test. 2022-07-15 09:38:42 +01:00
herd.scm
hurd.scm
kerberos.scm
linux.scm
lirc.scm
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
networking.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm
science.scm
sddm.scm
security-token.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
version-control.scm
virtualization.scm
vpn.scm
web.scm
xorg.scm