summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLilah Tascheter <lilah@lunabee.space>2025-10-21 14:13:59 -0500
committerEfraim Flashner <efraim@flashner.co.il>2025-11-12 12:20:22 +0200
commit7fb7d071cfda3a7d49499b7ed3b4571f0eb99c3e (patch)
tree3a644820b759acabc7004e7396868496f838d2d7 /doc
parent368d2d9e0ff9a6dce0c1836d1ac542d4d2b9d23a (diff)
gnu: services: Add mollysocket service.
* gnu/services/messaging.scm (ms-format,ms-serialize-string, ms-serialize-integer, ms-serialize-boolean, ms-serialize-list-of-strings, mollysocket-shepherd-service, mollysocket-account-service, mollysocket-activation-service): New procedures. (mollysocket-configuration): New configuration. (mollysocket-service-type): New variable. * doc/guix.texi (Messaging Services)[Mollysocket Service]: New section. Change-Id: I87d57b69a6d8fa8841a95add084aa383385de4c7
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 64ef5964745..ffc797ccf3c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -31777,6 +31777,50 @@ Owner's group of the broker process.
31777@end table 31777@end table
31778@end deftp 31778@end deftp
31779 31779
31780@subsubheading Mollysocket Service
31781
31782@url{https://github.com/mollyim/mollysocket,Mollysocket} is a UnifiedPush
31783provider for the messaging app @url{https://molly.im,Molly}, a fork of Signal.
31784
31785@defvar mollysocket-service-type
31786The Mollysocket service. Takes @code{mollysocket-configuration} as its value.
31787By default, this service listens on port 8020 for any Molly client.
31788@end defvar
31789
31790@deftp {Data Type} mollysocket-configuration
31791The configuration for Mollysocket, with the following fields:
31792
31793@table @asis
31794@item @code{package} (default: @code{mollysocket})
31795The Mollysocket package to use.
31796
31797@item @code{host} (default: @code{"0.0.0.0"})
31798Address for the webserver to listen on. It is recommended that this be set to
31799localhost, and instead configure a TLS-supporting reverse proxy in front of it.
31800
31801@item @code{port} (default: @code{8020})
31802Port for the webserver to listen on.
31803
31804@item @code{webserver} (default: @code{#t})
31805Whether the webserver sould be enabled. If disabled, the server is considered to
31806be in airgapped mode, and clients must be configured likewise.
31807
31808@item @code{allowed-endpoints} (default: @code{'("*")})
31809Allowlist of UnifiedPush distributor endpoints, represented as IP addresses or
31810domain names. Addresses on the local network must be specified explicitly.
31811
31812@item @code{allowed-uuids} (default: @code{'("*")})
31813Allowlist of Signal account UUIDs.
31814
31815@item @code{db} (default: @code{"/var/lib/mollysocket/db.sqlite"})
31816Path to the Mollysocket database. Will be created if it doesn't exist.
31817
31818@item @code{vapid-key-file} (default: @code{"/var/lib/mollysocket/vapid.key"})
31819Path to the VAPID key used to authorize requests to the UnifiedPush distributor.
31820Will be created if it doesn't exist.
31821@end table
31822@end deftp
31823
31780@node Telephony Services 31824@node Telephony Services
31781@subsection Telephony Services 31825@subsection Telephony Services
31782 31826