Commit Graph

1673 Commits

Author SHA1 Message Date
Arun Isaac b33454ae0b
linux-container: Support container network sharing.
* gnu/system/linux-container.scm (container-essential-services): If network is
to be shared with the host, remove network configuration files from etc
service.
(containerized-operating-system): If network is to be shared with the host,
remove nscd service and map host's /var/run/nscd if it exists.
(container-script): If network is to be shared with the host, do not create
network namespace.
* guix/scripts/system.scm (system-derivation-for-action): Add
#:container-shared-network? argument.
(perform-action): Add #:container-shared-network? argument.
(show-help): Add "-N, --network" help information.
(%options): Add network option.
(process-action): Call perform-action with #container-shared-network? argument.
* doc/guix.texi (Invoking guix system): Document the "-N, --network" option.

Co-authored-by: Christopher Baines <mail@cbaines.net>
2019-05-14 02:54:58 +05:30
Ludovic Courtès 06c78f3e11
doc: Mention the Russian translation.
* doc/guix.texi (Top): Mention the Russian translation.
2019-05-13 10:47:52 +02:00
Ludovic Courtès 3bac7e6495
doc: Add Russian translation.
* doc/local.mk (info_TEXINFOS): Add guix.ru.texi.
(TRANSLATED_INFO): Add {guix,contributing}.ru.texi.
* po/doc/local.mk (DOC_PO_FILES): Add guix-manual.ru.po.
* po/doc/guix-manual.ru.po: New file.
2019-05-13 10:46:03 +02:00
Ludovic Courtès 4d46775b1d
doc: Update list of supported architectures.
* doc/guix.texi (GNU Distribution): Remove "experimental" bit for
AArch64.  Mark "mips64el-linux" as "no longer fully supported."
2019-05-13 00:02:15 +02:00
Diego Nicola Barbato 84c6639f41
doc: Document 'auto-start?' field of 'shepherd-service'.
* doc/guix.texi (shepherd-service): Document 'auto-start?' field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-12 23:31:53 +02:00
Diego Nicola Barbato 7f03133ba3
doc: Fix typo.
* doc/guix.texi (shepherd-service): Replace 'requirements' with 'requirement'.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2019-05-11 13:11:35 +05:30
Josh Holland 4ac8dd43f0
doc: Fix typo.
* doc/guix.texi (cargo-build-system): Correct Carto.toml.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2019-05-09 12:54:18 +05:30
Christopher Baines 5b3d3cf71c
services: dovecot: Rename auth-verbose-passwords?.
* gnu/services/mail.scm (dovecot-configuration)[auth-verbose-passwords?]:
Rename to auth-verbose-passwords, and change the type to a string, as this
parameter can take one of three string values.
* doc/guix.texi (Dovecot service): Update the corresponding documentation.
2019-05-07 20:52:02 +01:00
Diego Nicola Barbato dbef9015db
doc: Document 'display' and 'vt' fields of 'slim-configuration'.
* doc/guix.texi (X Window): Mention 'display' and 'vt' fields of
  'slim-configuration' and explain how to use them to add multiple SLiM
  services to system services.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-07 15:46:54 +02:00
Miguel 123e424e95
doc: Fix typo.
* doc/guix.texi (VM): Add missing dot.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:28:34 +02:00
Miguel 65e2a3bba0
doc: Fix typo.
* doc/guix.texi (xfce-desktop-service-type): Fix sentence.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:24:03 +02:00
Miguel 5f026c1d52
doc: Fix typo.
* doc/guix.texi (page-log@files-configuration@CUPS): "Page log" instead of
"access log".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:23:42 +02:00
Miguel f096071266
doc: Fix typos.
* doc/guix.texi (set-xorg-configuration): Add missing @code tag.
(error-log@files-configuration@CUPS): "Error log" instead of "access log".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:23:04 +02:00
Miguel dd357acd93
doc: Fix typo.
* doc/guix.texi (rsync-service-type): Add missing sentence.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:22:24 +02:00
Miguel 24f2d488f2
doc: Fix typo.
* doc/guix.texi (openntpd-configuration): Fix spelling issues.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:22:08 +02:00
Miguel 890f4d29cc
doc: Fix typos.
* doc/guix.texi (rakudo-build-system, libvirt-configuration,
pam-krb5): Missing period between sentences.
(gnu services vpn): Fix server spelling.
(agetty-configuration): Add missing subject in the sentence.
(udev-service): Fix markup for Scheme procedures.
({gnome,xfce,mate}-desktop-service): Add missing colon after default.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-05 17:21:48 +02:00
Ludovic Courtès e8f8363cde
doc: Update htmlxref.cnf.
* doc/htmlxref.cnf (G): Switch to https.
(geiser, guix.de, guix.es, hurd): New entries.
2019-05-04 23:07:38 +02:00
Ludovic Courtès 227ff747a6
doc: Warn about missing entries in htmlxref.cnf.
* doc/local.mk (AM_MAKEINFOHTMLFLAGS): New variable.
2019-05-04 23:07:38 +02:00
Ludovic Courtès ae185085a6
doc: Adjust cross-references for GNU triplets.
* doc/guix.texi (Defining Packages): Reference to 'autoconf' instead of
obsolete 'configure' manual for triplets.
(Additional Build Options): Adjust 'autoconf' node name.
2019-05-04 23:07:38 +02:00
Ludovic Courtès 021deac0e8
doc: Provide the actual URL to the VM image.
Fixes <https://bugs.gnu.org/35537>.
Reported by Andy Tai <atai@atai.org>.

* doc/guix.texi (Running Guix in a VM): Use @url and provide the actual
URL, without @var{system}.
2019-05-04 23:07:38 +02:00
Marius Bakke 729102cbf4
doc: Use HTTPS URLs.
* doc/guix.texi: Use HTTPS where possible.
2019-05-04 16:51:06 +02:00
Ludovic Courtès 757e633d57
build: Change default substitute server to "ci.guix.gnu.org".
* config-daemon.ac: Replace "ci.guix.info" with "ci.guix.gnu.org".
* doc/guix.texi (SUBSTITUTE-SERVER): Likewise.
* etc/substitutes/ci.guix.gnu.org.pub: New file.
* Makefile.am (dist_pkgdata_DATA): Add it.
* guix/scripts/build.scm (%default-log-urls): Update.
* guix/scripts/substitute.scm (%default-substitute-urls): Likewise.
* guix/store.scm (%default-substitute-urls): Likewise.
* guix/self.scm (miscellaneous-files): Add "ci.guix.gnu.org".
2019-05-01 11:05:47 +02:00
Ludovic Courtès da56f10971
guix package: Add 'guix search' alias.
* guix/scripts/search.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a
couple of examples.
2019-04-29 12:19:24 +02:00
rendaw 9d3053819d
file-systems: Support the 'no-atime' flag.
* guix/build/syscalls.scm (MS_NOATIME): New variable.
* gnu/build/file-systems.scm (mount-flags->bit-mask): Support it.
* doc/guix.texi (File Systems): Document it and add cross-references to
the relevant documentation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 12:19:03 +02:00
Ludovic Courtès e432ce1b85
doc: Remove traces of "Guix System Distribution".
* doc/guix.texi (Invoking guix package)
(Official Substitute Server, System Configuration): Replace "the Guix
System Distribution" by "Guix System".
2019-04-29 11:17:39 +02:00
Ludovic Courtès 20dbd858ad
doc: Add 'SUBSTITUTE-URL' variable.
* doc/guix.texi (SUBSTITUTE-SERVER): New variable.
(Invoking guix weather): Use it.
2019-04-29 10:54:43 +02:00
Ludovic Courtès d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Ludovic Courtès 0fe1692200
doc: Duplicate recommendation about 'guix-install.sh'.
Since our web site points to "Binary Installation", it's best to have
that note there.

* doc/guix.texi (Binary Installation): Add note about guix-install.sh.
2019-04-28 22:57:07 +02:00
Ludovic Courtès 339586e402
doc: Remove outdated paragraph in "Binary Installation".
This is a followup to e9926f80c6.

* doc/guix.texi (Binary Installation): Remove paragraph about not
removing 'guix' from root's profile.
2019-04-27 19:31:50 +02:00
Ludovic Courtès 68400dfafa
doc: Suggest 1G of RAM for the VM image.
* doc/guix.texi (Running Guix in a VM): Suggest -m 1024.
2019-04-27 15:08:18 +02:00
Ludovic Courtès ea2acfe98a
doc: Update bit about SSH in the VM.
* doc/guix.texi (Running Guix in a VM): Remove mentions of 'lsh-server';
mention 'openssh-service-type' and add a cross-reference.
* gnu/system/examples/vm-image.tmpl (services): Add a commented-out line
for 'openssh-service-type'.
2019-04-27 15:08:17 +02:00
Ludovic Courtès 05b60752a6
doc: Recommend virtio-blk to access the VM image.
* doc/guix.texi (Running Guix in a VM): Recommend virtio-blk to access
the image.
2019-04-27 15:08:17 +02:00
Julien Lepiller 6cd7b1be7e
gnu: knot: Add configuration fields.
* gnu/services/dns.scm (knot-zone-configuration)[zonefile-load]
[journal-content, max-journal-usage, max-journal-depth, max-zone-size]:
New fields.
(knot-zone-config): Serialize them.
* doc/guix.texi (DNS Services): Document them.
2019-04-27 13:02:31 +02:00
Ludovic Courtès 272db5bcf5
doc: Use ftp.gnu.org for downloads.
From now on, everything will be uploaded to ftp.gnu.org instead of
alpha.gnu.org.

* doc/guix.texi (BASE-URL): Switch to ftp.gnu.org.
2019-04-26 14:19:37 +02:00
Ludovic Courtès b57dd2006b
doc: Add 'BASE-URL' variable.
* doc/guix.texi (BASE-URL): New variable.
(Binary Installation, USB Stick and DVD Installation)
(Running Guix in a VM): Use it instead of hard-coded URL.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 538b99f31f
system: Provide a new VM image configuration.
* gnu/system/examples/vm-image.tmpl: Rewrite.
* doc/guix.texi (Running Guix in a VM): Adjust accordingly.
2019-04-26 14:19:36 +02:00
Miguel Ángel Arruga Vivas 9ca5ff882e
bootstrap: Break automake dependency on generated files.
* bootstrap: Generate stub files for the manual translations whose
generated files are not included in the VCS.
* doc/contributing.de.texi: Remove file.
* doc/contributing.es.texi: Remove file.
* doc/contributing.fr.texi: Remove file.
* doc/contributing.zh_CN.texi: Remove file.
* doc/guix.de.texi: Remove file.
* doc/guix.es.texi: Remove file.
* doc/guix.fr.texi: Remove file.
* doc/guix.zh_CN.texi: Remove file.
* .gitignore: Add them.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-04-26 11:21:32 +02:00
Julien Lepiller 92eb600f8a
gnu: knot-service: Add includes field in configuration.
* gnu/services/dns.scm (knot-configuration): Add includes field.
(verify-knot-configuration): Check includes content.
(knot-config-file): Serialize includes.
* doc/guix.texi (DNS Services): Document it.
2019-04-25 21:44:55 +02:00
Julien Lepiller b68aff1f05
gnu: certbot: Add support for manual plugin.
* gnu/services/certbot.scm (certificate-configuration): Add challenge,
auth-hook and cleanup-hook fields.
(certbot-command): Use them.
* doc/guix.texi (Certificate Services): Document them.
2019-04-25 19:46:18 +02:00
Julien Lepiller ad377c3d34
nls: Update 'fr' translation of the manual. 2019-04-24 12:25:01 +02:00
Tobias Geerinckx-Rice 9ca762eb83
doc: Fix build.
* doc/guix.zh_CN.texi: @include version-zh_CN.texi.
2019-04-24 03:42:40 +02:00
Ludovic Courtès f6beefafd1
doc: Refer to the es and zh_CN translations.
* doc/guix.texi (Top): Mention Simplified Chinese and Spanish.
2019-04-24 00:35:11 +02:00
Ludovic Courtès de712e5286
doc: Add Simplified Chinese translation.
* doc/local.mk (info_TEXINFOS): Add guix.zh_CN.texi.
(TRANSLATED_INFO): Add guix.zh_CN.texi and contributing.zh_CN.texi.
* po/doc/local.mk (DOC_PO_FILES): Add guix-manual.zh_CN.po.
* doc/contributing.zh_CN.texi, doc/guix.zh_CN.texi: New files.
2019-04-24 00:27:51 +02:00
Ludovic Courtès 3b919e0199
doc: Add generated es.texi files.
* doc/guix.es.texi, doc/contributing.es.texi: New files.
2019-04-24 00:05:34 +02:00
Miguel Ángel Arruga Vivas 6227e1b747
doc: Add Spanish translation.
* doc/local.mk (info_TEXINFOS): Add guix.es.texi.
(TRANSLATED_INFO): Add guix.es.texi and contributing.es.texi.
* po/doc/guix-manual.es.po: New file.
* po/doc/local.mk: Add guix-manual.es.po.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-23 23:56:16 +02:00
Ludovic Courtès 95ef8b85b1
services: shepherd: Support one-shot services.
* gnu/services/shepherd.scm (<shepherd-service>)[one-shot?]: New field.
(shepherd-service-file): Pass #:one-shot? to the <service> constructor.
* doc/guix.texi (Shepherd Services): Document it.
2019-04-23 16:38:11 +02:00
Christopher Baines 5582aa8e31
system: Change default kernel-arguments to '("quiet").
This improves the readability of the boot process, especially when using full
disk encryption where you're required to enter the passphrase at a particular
point.

* gnu/system.scm (<operating-system>)[kernel-arguments]: Change the default to
'("quiet").
* doc/guix.texi (operating-system Reference): Document this change.
2019-04-22 22:18:00 +01:00
Ludovic Courtès c5265a0951
pull: Add '--news'.
Suggested by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/scripts/pull.scm (%options, show-help): Add '--news'.
(display-profile-news): Add #:current-is-newer? and #:concise?.
Honor them.
(build-and-install): Pass #:concise? #t.
(display-new/upgraded-packages)[concise/max-item-count]: New variable.
Add call to 'display-hint'.
(process-query): Add clause for 'display-news'.
* doc/guix.texi (Invoking guix pull): Add '--news'.
2019-04-22 12:01:32 +02:00
Ludovic Courtès ea261dea0c
guix build: Accept multiple '-s' options.
* guix/scripts/build.scm (%default-options): Remove 'system'.
(%options) <--system>: Keep previous occurrences of 'system in RESULT.
(options->derivations)[system]: Remove.
[systems, things-to-build]: New variables.
[compute-derivation]: New procedure.
Iterate on all of SYSTEMS to compute the derivations of THINGS-TO-BUILD.
* tests/guix-build.sh: Add test for one and multiple '-s' flags.
* doc/guix.texi (Additional Build Options): Document this behavior.
2019-04-19 17:46:40 +02:00
Ludovic Courtès c04052e4df
nls: Update 'de' translation of the manual. 2019-04-17 14:06:30 +02:00