guix/gnu/services
Bruno Victal 9be1ee6a49
services: tor: Deprecate 'tor-hidden-service' procedure.
Due to (now renamed) 'hidden-service' record type not being exported, the only
way Onion services (formely hidden services) could have worked is through the
now deprecated 'tor-hidden-service' procedure.

This commit updates the Tor service documentation, corrects some inconsistently
named accessors in <tor-configuration> record-type, renames and refactors
tor-hidden-service-configuration to tor-onion-service-configuration using
define-configuration and also exports it, allowing Onion services to be
configured directly within a <tor-configuration> record.
Lastly, it also deprecates the 'tor-hidden-service' procedure.

* doc/guix.texi (Networking Services): Substitute mentions of “Hidden services”
with “Onion Services”. Add a Tor Onion service configuration example.
Document <tor-onion-service-configuration>. Remove mention of
'tor-hidden-service' procedure.
* gnu/services/networking.scm: Export tor-configuration-tor,
tor-configuration-config-file, tor-configuration-hidden-services,
tor-configuration-socks-socket-type, tor-configuration-control-socket-path,
tor-onion-service-configuration, tor-onion-service-configuration?,
tor-onion-service-configuration-name, tor-onion-service-configuration-mapping.
(<tor-configuration>)[control-socket?]: Rename accessor.
(<hidden-service>): Replace with …
(<tor-onion-service-configuration>): … this.
(tor-configuration->torrc): Update record-type name.
(tor-activation): Ditto.
(tor-hidden-service-type): Remove variable.
(tor-hidden-service): Deprecate procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-25 17:19:21 +02:00
..
admin.scm
audio.scm services: mpd: Use proper records for user and group fields. 2023-04-14 15:12:11 -04:00
auditd.scm
authentication.scm
avahi.scm
base.scm services: nscd: Depend on syslogd. 2023-04-21 16:16:37 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm services: configuration: Add user-defined sanitizer support. 2023-04-02 12:31:51 +02:00
cuirass.scm
cups.scm
databases.scm services: postgresql: Add default package. 2023-04-21 16:16:37 +02:00
dbus.scm
desktop.scm services: desktop: Remove 'xfce-desktop-service' procedure. 2023-04-07 17:58:33 +02:00
dict.scm
dns.scm services: knot: Add 'configuration' action. 2023-04-21 16:16:37 +02:00
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm
herd.scm services: herd: 'load-services/safe' is synonymous with 'load-services'. 2023-04-21 16:16:37 +02:00
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm
linux.scm services: replace bare serializers with (serializer ...) 2023-04-02 12:35:30 +02:00
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm
networking.scm services: tor: Deprecate 'tor-hidden-service' procedure. 2023-04-25 17:19:21 +02:00
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm services: rsync: Add 'configuration' action. 2023-04-21 16:16:37 +02:00
samba.scm
science.scm
sddm.scm services: sddm: Remove 'sddm-service' procedure. 2023-04-07 17:56:55 +02:00
security-token.scm
security.scm services: replace bare serializers with (serializer ...) 2023-04-02 12:35:30 +02:00
shepherd.scm
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm
vnc.scm services: xvnc: Do not create a regular HOME directory for xvnc user. 2023-04-02 23:35:15 -04:00
vpn.scm
web.scm services: nginx: Add reopen action. 2023-04-11 12:19:01 -04:00
xorg.scm