aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
Commit message (Collapse)AuthorAge
* services: guix-publish: Allow for multi-compression.Ludovic Courtès2019-06-03
| | | | | | | | | | | | | | | | This is a followup to b8fa86adfc01205f1d942af8cb57515eb3726c52. * guix/deprecation.scm (warn-about-deprecation): Make public. * gnu/services/base.scm (<guix-publish-configuration>)[compression]: New field. [compression-level]: Default to #f. Add '%' to getter name. (guix-publish-configuration-compression-level): Define as deprecated. (default-compression): New procedure. (guix-publish-shepherd-service)[config->compression-options]: New procedure. Use 'match-record' instead of 'match'. * doc/guix.texi (Base Services): Remove 'compression-level' and document 'compression'.
* publish: '--compression' can be repeated.Ludovic Courtès2019-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows 'guix publish' to compress and advertise multiple compression methods from which users can choose. * guix/scripts/publish.scm (actual-compression): Rename to... (actual-compressions): ... this. Expect REQUESTED to be a list, and always return a list. (%default-options): Remove 'compression. (store-item->recutils): New procedure. (narinfo-string): Change #:compression to #:compressions (plural). Adjust accordingly. (render-narinfo, render-narinfo/cached): Likewise. (bake-narinfo+nar): Change #:compression to #:compressions. [compressed-nar-size]: New procedure. Call 'compress-nar' for each item returned by 'actual-compressions'. Create a narinfo for each compression. (effective-compression): New procedure. (make-request-handler): Change #:compression to #:compressions. Use 'effective-compression' to determine the applicable compression. (guix-publish): Adjust handling of '--compression'. Print a message for each compression that is enabled. * tests/publish.scm ("/*.narinfo"): Adjust to new narinfo field ordering. ("/*.narinfo with properly encoded '+' sign"): Likewise. ("/*.narinfo with lzip + gzip"): New test. ("with cache, lzip + gzip"): New test. * doc/guix.texi (Invoking guix publish): Document it.
* services: Add patchwork.Christopher Baines2019-05-31
| | | | | | | | | * gnu/service/web.scm (<patchwork-database-configuration> <patchwork-settings-module>, <patchwork-configuration>): New record types. (patchwork-virtualhost): New procedure. (patchwork-service-type): New variable. * gnu/tests/web.scm (%test-patchwork): New variable. * doc/guix.text (Web Services): Document it.
* services: Add getmail.Christopher Baines2019-05-31
| | | | | | | | | | | | | | | Getmail is a mail retriever written in Python, this commit adds a service-type to run getmail. I'm looking at this, as it's a convinient way of getting mailing list messages in to Patchwork. I initially tried putting this in the (gnu services mail) module, but due to also trying to use the define-configuration pattern, it conflicted with the dovecot service. * gnu/services/getmail.scm: New file. * gnu/local.mk: Add it. * gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables. (run-getmail-test): New procedure.
* publish: Add support for lzip.Ludovic Courtès2019-05-27
| | | | | | | | | | | | | | | * guix/scripts/publish.scm (show-help, %options): Support '-C METHOD' and '-C METHOD:LEVEL'. (default-compression): New procedure. (bake-narinfo+nar): Add lzip. (nar-response-port): Likewise. (string->compression-type): New procedure. (make-request-handler): Generalize /nar/gzip handler to handle /nar/lzip as well. * tests/publish.scm ("/nar/lzip/*"): New test. ("/*.narinfo with lzip compression"): New test. * doc/guix.texi (Invoking guix publish): Document it. (Requirements): Mention lzlib.
* doc: Update default value of terminal-outputs.Jakob L. Kreuze2019-05-27
| | | | | | * doc/guix.texi: (terminal-outputs) Update default value. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: sddm: Fix root login failure issue.Reza Alizadeh Majd2019-05-26
| | | | | | | | | | * gnu/services/sddm.scm (sdm-pam-service): Set uid from CONFIG. (sdm-autologin-pam-service): Set uid from CONFIG. (sdm-pam-services): Pass CONFIG to 'sddm-pam-service' and 'sddm-autologin-pam-service'. * doc/guix.texi (X Window): Adjust 'minimum-uid' documentation. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* doc: Murmur: Fix typo "authentication".Vagrant Cascadian2019-05-22
| | | | * doc/guix.texi (Murmur): Fix typo.
* weather: Accept package specs on the command line.Ludovic Courtès2019-05-22
| | | | | | | | | Previously, non-option arguments would be ignored. Now it puts them to good use. * guix/scripts/weather.scm (guix-weather)[package-list]: New procedure. Use it. * doc/guix.texi (Invoking guix weather): Adjust accordingly.
* pack: Add '--root'.Ludovic Courtès2019-05-22
| | | | | | | * guix/scripts/pack.scm (%options, show-help): Add "--root". (guix-pack): Honor it. * tests/guix-pack.sh: Test it. * doc/guix.texi (Invoking guix pack): Document it.
* vm: 'system-docker-image' provides an entry point.Ludovic Courtès2019-05-15
| | | | | | | | | | | | | This simplifies use of images created with 'guix system docker-image'. * gnu/system/vm.scm (system-docker-image)[boot-program]: New variable. [os]: Add it to the GC roots. [build]: Pass #:entry-point to 'build-docker-image'. * gnu/tests/docker.scm (run-docker-system-test): New procedure. (%test-docker-system): New variable. * doc/guix.texi (Invoking guix system): Remove GUIX_NEW_SYSTEM hack and '--entrypoint' from the example. Mention 'docker create', 'docker start', and 'docker exec'.
* doc: Mention ModemManager.Florian Pelz2019-05-15
| | | | | | * doc/guix.texi (Desktop Services): Mention ModemManager here. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* linux-container: Support container network sharing.Arun Isaac2019-05-14
| | | | | | | | | | | | | | | | | | | * 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>
* doc: Mention the Russian translation.Ludovic Courtès2019-05-13
| | | | * doc/guix.texi (Top): Mention the Russian translation.
* doc: Update list of supported architectures.Ludovic Courtès2019-05-13
| | | | | * doc/guix.texi (GNU Distribution): Remove "experimental" bit for AArch64. Mark "mips64el-linux" as "no longer fully supported."
* doc: Document 'auto-start?' field of 'shepherd-service'.Diego Nicola Barbato2019-05-12
| | | | | | * doc/guix.texi (shepherd-service): Document 'auto-start?' field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: Fix typo.Diego Nicola Barbato2019-05-11
| | | | | | * doc/guix.texi (shepherd-service): Replace 'requirements' with 'requirement'. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* doc: Fix typo.Josh Holland2019-05-09
| | | | | | * doc/guix.texi (cargo-build-system): Correct Carto.toml. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* services: dovecot: Rename auth-verbose-passwords?.Christopher Baines2019-05-07
| | | | | | | * 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.
* doc: Document 'display' and 'vt' fields of 'slim-configuration'.Diego Nicola Barbato2019-05-07
| | | | | | | | * 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>
* doc: Fix typo.Miguel2019-05-05
| | | | | | * doc/guix.texi (VM): Add missing dot. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc: Fix typo.Miguel2019-05-05
| | | | | | * doc/guix.texi (xfce-desktop-service-type): Fix sentence. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc: Fix typo.Miguel2019-05-05
| | | | | | | * doc/guix.texi (page-log@files-configuration@CUPS): "Page log" instead of "access log". Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc: Fix typos.Miguel2019-05-05
| | | | | | | * 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>
* doc: Fix typo.Miguel2019-05-05
| | | | | | * doc/guix.texi (rsync-service-type): Add missing sentence. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc: Fix typo.Miguel2019-05-05
| | | | | | * doc/guix.texi (openntpd-configuration): Fix spelling issues. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* doc: Fix typos.Miguel2019-05-05
| | | | | | | | | | | * 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>
* doc: Adjust cross-references for GNU triplets.Ludovic Courtès2019-05-04
| | | | | | * doc/guix.texi (Defining Packages): Reference to 'autoconf' instead of obsolete 'configure' manual for triplets. (Additional Build Options): Adjust 'autoconf' node name.
* doc: Provide the actual URL to the VM image.Ludovic Courtès2019-05-04
| | | | | | | | 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}.
* doc: Use HTTPS URLs.Marius Bakke2019-05-04
| | | | * doc/guix.texi: Use HTTPS where possible.
* build: Change default substitute server to "ci.guix.gnu.org".Ludovic Courtès2019-05-01
| | | | | | | | | | | * 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".
* guix package: Add 'guix search' alias.Ludovic Courtès2019-04-29
| | | | | | | | | * 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.
* file-systems: Support the 'no-atime' flag.rendaw2019-04-29
| | | | | | | | | * 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>
* doc: Remove traces of "Guix System Distribution".Ludovic Courtès2019-04-29
| | | | | | * doc/guix.texi (Invoking guix package) (Official Substitute Server, System Configuration): Replace "the Guix System Distribution" by "Guix System".
* doc: Add 'SUBSTITUTE-URL' variable.Ludovic Courtès2019-04-29
| | | | | * doc/guix.texi (SUBSTITUTE-SERVER): New variable. (Invoking guix weather): Use it.
* guix package: Add 'install', 'remove', and 'upgrade' aliases.Ludovic Courtès2019-04-29
| | | | | | | | | | | | | | | | * 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".
* doc: Duplicate recommendation about 'guix-install.sh'.Ludovic Courtès2019-04-28
| | | | | | | 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.
* doc: Remove outdated paragraph in "Binary Installation".Ludovic Courtès2019-04-27
| | | | | | | This is a followup to e9926f80c6553fde50ce1fcfd38d6370f841efd2. * doc/guix.texi (Binary Installation): Remove paragraph about not removing 'guix' from root's profile.
* doc: Suggest 1G of RAM for the VM image.Ludovic Courtès2019-04-27
| | | | * doc/guix.texi (Running Guix in a VM): Suggest -m 1024.
* doc: Update bit about SSH in the VM.Ludovic Courtès2019-04-27
| | | | | | | * 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'.
* doc: Recommend virtio-blk to access the VM image.Ludovic Courtès2019-04-27
| | | | | * doc/guix.texi (Running Guix in a VM): Recommend virtio-blk to access the image.
* gnu: knot: Add configuration fields.Julien Lepiller2019-04-27
| | | | | | | | * 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.
* doc: Use ftp.gnu.org for downloads.Ludovic Courtès2019-04-26
| | | | | | | 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.
* doc: Add 'BASE-URL' variable.Ludovic Courtès2019-04-26
| | | | | | * 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.
* system: Provide a new VM image configuration.Ludovic Courtès2019-04-26
| | | | | * gnu/system/examples/vm-image.tmpl: Rewrite. * doc/guix.texi (Running Guix in a VM): Adjust accordingly.
* gnu: knot-service: Add includes field in configuration.Julien Lepiller2019-04-25
| | | | | | | * 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.
* gnu: certbot: Add support for manual plugin.Julien Lepiller2019-04-25
| | | | | | | * 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.
* doc: Refer to the es and zh_CN translations.Ludovic Courtès2019-04-24
| | | | * doc/guix.texi (Top): Mention Simplified Chinese and Spanish.
* services: shepherd: Support one-shot services.Ludovic Courtès2019-04-23
| | | | | | * 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.
* system: Change default kernel-arguments to '("quiet").Christopher Baines2019-04-22
| | | | | | | | | | 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.