me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
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
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
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
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
linux.scm system: Align zram priority with swap-space spec to clarify. 2022-06-11 00:57:13 -04:00
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 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
ssh.scm services: openssh: Listen on IPv6 only when IPv6 is supported. 2022-07-01 23:29:16 +02:00
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 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