services: Add rabbitmq service.
* gnu/services/high-availability.scm (<rabbitmq-configuration>): New record.
(rabbitmq-shepherd-service): New procedure.
(rabbitmq-service-type): New variable.
* gnu/tests/high-availability.scm (run-rabbitmq-test): New procedure.
(%rabbitmq-os, %tests-rabbitmq): New variables.
* doc/gnu.texi (High Availability Services): Document it.
Change-Id: I53e9f2881b6340e1ed314785e4c5529b81381a3b
Co-authored-by: Christopher Baines <mail@cbaines.net>
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
doc: Update arguments for gexp procedures.
Some keyword arguments were missing, some had wrong default values. This
commit updates the documentation to match the code.
* doc/guix.texi (G-Expressions)[computed-file]: Use @var. Document #:guile.
[gexp->script]: Fix default value for #:target.
[gexp->file]: Document #:system and #:target.
Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11
Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>
mapped-devices: luks: Adjust to support extra arguments.
Fixes <https://issues.guix.gnu.org/70826>.
When using ‘luks-device-mapping-with-options’, procedures such as
‘operating-system-boot-mapped-devices’ would fail to identify LUKS
mapped devices because they would check whether the mapped device type
is ‘eq?’ to ‘luks-device-mapping’.
This addresses that by ensuring mapped devices are always of the
‘luks-device-mapping’ type, even when different options are used.
* gnu/system/mapped-devices.scm (close-luks-device): Add #:rest.
(luks-device-mapping-with-options): Deprecate.
* gnu/tests/install.scm (%encrypted-home-os-key-file): Update
accordingly.
* doc/guix.texi (Mapped Devices): Document use of the ‘arguments’ field
of ‘luks-device-mapping’. Remove ‘luks-device-mapping-with-options’
documentation.
(Bootloader Configuration): Update example with key file in extra
initrd.
Change-Id: I5442908cb8ef4e3891dbb053cccf5e42b895486f
Reported-by: Tadhg McDonald-Jensen <tadhgmister@gmail.com>
mapped-devices: Add ‘arguments’ field.
Fixes <https://issues.guix.gnu.org/70826>.
This allows users to specify extra arguments specific to the underlying
mapped device type.
* gnu/system/mapped-devices.scm (<mapped-device>)[arguments]: New field.
(device-mapping-service-type): Honor it.
* guix/scripts/system.scm (check-mapped-devices): Likewise.
* gnu/system/linux-initrd.scm (raw-initrd): Likewise.
* doc/guix.texi (Mapped Devices): Document it.
Reported-by: 45mg <45mg.writes@gmail.com>
Change-Id: Idef5a3e68535c412f13bae9a92c81c49053d4f4a
doc: Fix some grammar.
* doc/contributing.texi (Alternative Setups): Fix grammar, add double space.
(Sending a Patch Series): Add missing word.
* doc/guix.texi (Daemon Offload Setup, Invoking guix repl): Fix grammar.
(Bootloader Configuration): Fix grammar, capitalize "RAM".
Change-Id: I459c8343b28b2b3474c7a54372f75c61c8111a10
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
services: greetd: Support initial-session.
* gnu/services/base.scm (<greetd-terminal-configuration>): Add
initial-session-user, initial-session-command.
* doc/guix.texi (Base Services): Document them.
Change-Id: Iaf7a8203f34794bc36b031166e1ff7005d7a7104
nls: Update translations.
* po/doc/guix-cookbook.it.po: New file.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk: Add 'it' manual, cookbook.
* po/doc/po4a.cfg (po4a_langs): Add 'it'.
* po/guix/el.po: New file.
* po/guix/LINGUAS: Add 'el'.
* doc/local.mk: Add 'it' manual, cookbook.
* doc/htmlxref.cnf: Update URLs for manual, cookbook.
* doc/build.scm (%cookbook-languages, %manual-languages): Add 'it'.
* doc/guix.texi (Top): Mention 'it' manual.
* doc/guix-cookbook.texi (Top): Mention 'it' cookbook.
Change-Id: I46023fa4b2dbe9db5227292823b4df9e41c3cee0
doc: Replace www.gnu.org broken links.
See <https://bugs.gnu.org/78319>.
* doc/guix-cookbook.texi (Packaging Tutorial): Fix links.
Change-Id: Ib13b77a8248f6a1b91c05079c457bc4e96d847f3
doc: Update weblate URL.
* doc/build.scm (stylized-html): Update URL from fedora to codeberg's
Weblate.
* doc/contributing.texi: idem.
* doc/guix-cookbook.texi: idem.
* doc/guix.texi: idem.
Change-Id: I13729a73f94738c9c336a067058020549f2640d6
doc: Fix URL of ‘language-picker.svg’.
Fixes a regression introduced in
824d46a2fee18111a2a80f7805404a1ea58134c7.
* doc/build.scm (stylized-html)[build]: Avoid double leading slash for
‘language-picker.svg’.
Change-Id: I0817949862f061dbbe04352bda1e479347015c84
doc: Add links to versions and variants as a drop-down menu.
* doc/build.scm (%latest-guix-version): New variable.
(stylized-html): Add #:latest-version.
[build](menu-item-separator): New variable.
(version-menu-items, input-file-language): New procedures.
(stylized-html, process-html): Add ‘language’ parameter. Update
callers.
Change-Id: If7cea2410802eec5af1d3c0407d5569250eb15ef
doc: Really honor ‘GUIX_WEB_SITE_URL’.
This is useful when testing changes locally, so that CSS links point to
the right place.
* doc/build.scm (%web-site-url): Default to /.
(%manual-css-url): Honor ‘%web-site-url’.
Change-Id: I8d885eba0fb8560dd7da7f21629c716a06c16b1f
doc: Add missing paren in example.
* doc/guix.texi (Messaging Home Services): Add missing parent in
‘home-snuik-service-type’ example.
Change-Id: I97014da939f548000c45177f38387543c9200fc4
doc: Update letsencrypt URL for retrieving ACME subscriber agreement.
* doc/guix.texi (Certificate Services): Update URL.
Change-Id: Ie32dcbc8198b70f1362b42c652542e3cc5654938
services: certbot: Add dry-run? certificate option.
* gnu/services/certbot.scm (certificate-configuration): Add dry-run? field.
(certbot-command): Use it to pass --dry-run to certbot.
* doc/guix.texi (Certificate Services): Document dry-run? option.
Change-Id: I26b0dc06e2b7e5fb34305deee09e311d085f8a4b
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
services: certbot: Refer to authentication-hook in documentation.
* doc/guix.texi (Cerfiticate Services): Refer to non-abbreviated
authentication-hook instead of auth-hook.
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
services: ci: Add Forgejo Runner service.
* gnu/services/ci.scm (<forgejo-runner-configuration>): New record type.
(create-forgejo-runner-account, forgejo-runner-activation)
(write-yaml, yaml-file, forgejo-runner-shepherd-service): New procedures.
(forgejo-runner-service-type): New variable.
* doc/guix.texi (Continuous Integration): Add “Forgejo Runner” heading.
Co-authored-by: David Thompson <davet@gnu.org>
Change-Id: Iba42d84da35812afa60e94773fbbadd68eca9813
doc: More typographical tweaks for “Bulk Updates” section.
* doc/contributing.texi (Bulk Updates): Capitalize title. Leave two
spaces after end-of-sentence period. Use @dots{} instead of showing
full store file names, as per ‘assert-no-store-file-names’ target.
Fix typo.
Change-Id: Iceb0079ec35fda95280afff1c0d4b2cd84717b96
doc: contributing: Correct typos in Bulk updates.
* doc/contributing.texi (Bulk updates): Correct typos.
Change-Id: I660520b64139537e6ca9186c06810f5053d4368e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>