guix-play/gnu
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
..
bootloader image: Add support for 32bit UEFI. 2022-06-24 10:21:06 +02:00
build gnu: modifying make-chromium-extension to rely on node-crx3. 2022-07-20 16:50:08 +02:00
home home: services: environment-variables: Double-quote values. 2022-07-14 01:05:34 +02:00
installer Revert "installer: user: Remove useless filtering." 2022-05-21 00:15:08 +02:00
machine initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
packages gnu: python-bbknn: Update to 1.5.1. 2022-08-01 17:46:21 +02:00
services services: configuration: Step back from *unspecified*. 2022-08-01 12:49:35 -04:00
system image: Raise an error when an image lacks a bootable partition. 2022-07-01 12:10:28 +02:00
tests gnu: tests: Fix guix-data-service test. 2022-07-15 09:38:42 +01:00
artwork.scm artwork: Update snapshot to 2f2fe74. 2019-06-10 23:11:07 +02:00
bootloader.scm gnu: system: Improve location of some configuration warnings. 2021-11-17 23:05:58 +01:00
ci.scm Move (gnu platform) and (gnu platforms ...) to guix/. 2022-05-25 09:27:25 +02:00
home.scm home: Add 'home-generation-base'. 2022-08-01 00:02:04 +02:00
image.scm image: Add sanitizers for 'format' and 'partition-table-type'. 2022-07-01 12:10:29 +02:00
installer.scm installer: Use system-wide guix for system init. 2022-02-02 16:46:44 +01:00
local.mk gnu: Add fail2ban. 2022-08-01 17:20:27 +02:00
machine.scm
packages.scm packages: Use SRFI-71 instead of SRFI-11. 2022-06-06 22:43:30 +02:00
services.scm gnu: services: Update setuid service description. 2022-05-29 02:00:19 +02:00
system.scm gnu: system: Add fusermount3 to setuid-programs. 2022-07-14 15:16:23 -04:00
tests.scm services: Add more description fields. 2022-05-18 22:29:54 +02:00