summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* gnu: Add rsync service.Oleg Pykhalov2017-09-231-0/+69
| | | | | | | | | * doc/guix.texi (Networking Services): Add rsync service documentation. * gnu/services/rsync.scm (<rsync-configuration>): New file. * gnu/tests/rsync.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add new files. Signed-off-by: Christopher Baines <mail@cbaines.net>
* services: network-manager: Add support for VPN plug-ins.Ludovic Courtès2017-09-221-0/+5
| | | | | | | | | | | | * gnu/services.scm (directory-union): Export. * gnu/services/networking.scm (<network-manager-configuration>)[vpn-plugins]: New field. (vpn-plugin-directory, network-manager-environment): New procedure. (network-manager-shepherd-service): Pass #:environment-variables to 'make-forkexec-constructor'. (network-manager-service-type): Add SESSION-ENVIRONMENT-SERVICE-TYPE extension. * doc/guix.texi (Networking Services): Document it.
* doc: Mention 'mkfs.fat' for the ESP.Ludovic Courtès2017-09-191-1/+6
| | | | | | Suggested by Hartmut Goebel <h.goebel@crazy-compilers.com>. * doc/guix.texi (Preparing for Installation): Mention 'mkfs.fat'.
* doc: Add a note about closing bug threads.Jan Nieuwenhuizen2017-09-191-0/+3
| | | | | | | * doc/contributing.texi (Submitting Patches): Add a note about closing bug threads by mailing to NNN-done@debbugs.gnu.org. Suggested-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* doc: Add "Sending a Patch Series" subsection.Jan Nieuwenhuizen2017-09-191-9/+20
| | | | | | | | | | | | | Searching for `git send-email' took you to the end of `Submitting Patches' section which said You may use your email client or the ‘git send-email’ command. without further warning or remark. * doc/contributing.texi (Sending a Patch Series): Move information about debbugs bug 15361 to subsection. Add git-send-email index entries. (Submitting Patches): Reference it.
* build-system: Add 'meson-build-system'.Peter Mikkelsen2017-09-161-0/+55
| | | | | | | | | | * Makefile.am (MODULES): Add 'guix/build-system/meson.scm' and 'guix/build/meson-build-system.scm'. * guix/build-system/meson.scm: New file. * guix/build/meson-build-system.scm: New file. * doc/guix.texi (Build Systems): Add 'meson-build-system'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix system: Add 'search' command.Ludovic Courtès2017-09-161-1/+39
| | | | | | | | | | | | | | * guix/scripts/system.scm (resolve-subcommand): New procedure. (process-command): Handle 'search'. (guix-system): Likewise. (show-help): Augment. * guix/scripts/system/search.scm: New file. * po/guix/POTFILES.in: Add it. * Makefile.am (MODULES): Add it. * guix/ui.scm (%text-width): Export. * doc/guix.texi (Invoking guix system): Document it. (Service Types and Services): Mention 'guix system search'. * tests/guix-system.sh: Test it.
* services: Add a description and location for each service type.Ludovic Courtès2017-09-161-0/+4
| | | | | * gnu/services.scm (<service-type>)[description, location]: New field. * doc/guix.texi (Service Types and Services): Document 'description'.
* gnu: cuirrass: Default port to 8081.Jan Nieuwenhuizen2017-09-131-1/+1
| | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>): Default port to 8081. Fixes conflict with guix-publish default. * doc/guix.texi (Continuous Integration): Update.
* doc: Fix typo in cuirrass config example.Jan Nieuwenhuizen2017-09-131-2/+2
| | | | * doc/guix.texi (Continuous Integration): Add missing quote in example spec.
* doc: Use Screen and OpenSSH in the bare-bones example.Ludovic Courtès2017-09-121-2/+3
| | | | | | | * gnu/system/examples/bare-bones.tmpl (packages): Remove TCPDUMP; add SCREEN and OPENSSH. * doc/guix.texi (Using the Configuration System): Adjust explanation accordingly.
* substitute: Download from unauthorized sources that provide the right content.Ludovic Courtès2017-09-111-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows substitutes to be downloaded from unauthorized servers, as long as they advertise the same hash and references as one of the authorized servers. * guix/scripts/substitute.scm (assert-valid-narinfo): Remove. (valid-narinfo?): Add #:verbose?. Handle each case of 'signature-case'. (equivalent-narinfo?): New procedure. (lookup-narinfos/diverse): Add 'authorized?' parameter and honor it. [select-hit]: New procedure. (lookup-narinfo): Add 'authorized?' parameter and pass it. (process-query): Adjust callers accordingly. (process-substitution): Remove call to 'assert-valid-narinfo'. Check whether 'lookup-narinfo' returns true and call 'leave' if not. * tests/substitute.scm (%main-substitute-directory) (%alternate-substitute-directory): New variables. (call-with-narinfo): Make 'narinfo-directory' a parameter. Call 'mkdir-p' to create it. Change unwind handler to check whether CACHE-DIRECTORY exists before deleting it. (with-narinfo*): New macro. ("substitute, no signature") ("substitute, invalid hash") ("substitute, unauthorized key"): Change expected error message to "no valid substitute". ("substitute, unauthorized narinfo comes first") ("substitute, unsigned narinfo comes first") ("substitute, first narinfo is unsigned and has wrong hash") ("substitute, first narinfo is unsigned and has wrong refs") ("substitute, unsigned narinfo comes first") ("substitute, two invalid narinfos"): New tests. * doc/guix.texi (Substitutes): Explain the new behavior.
* doc: Replace upstream-list with upstream-blocks.Christopher Baines2017-09-101-4/+4
| | | | | | | This fixes the documentation to match the implementation. * doc/guix.texi (Web Services): Replace 'upstream-list' with 'upstream-blocks'.
* doc: Replace server-list with server-blocks.Oleg Pykhalov2017-09-101-7/+7
| | | | | | * doc/guix.texi (Web Services): Replace 'server-list' with 'server-blocks'. Signed-off-by: Christopher Baines <mail@cbaines.net>
* doc: Update elogind URL.Ludovic Courtès2017-09-081-1/+1
| | | | * doc/guix.texi (Desktop Services): Update elogind URL.
* size: Default to '--sort=self'.Ludovic Courtès2017-09-071-3/+3
| | | | | | * guix/scripts/size.scm (%default-options): Change default value for 'profile<?. * doc/guix.texi (Invoking guix size): Adjust accordingly.
* services: web: Fix nginx-service-type's ‘file’ procedure.Tobias Geerinckx-Rice2017-09-051-6/+6
| | | | | | * gnu/services/web.scm (nginx-activation, nginx-shepherd-service): Replace references to non-existent ‘config-file’ with ‘file’. * doc/guix.texi (Web Services): Likewise.
* doc: Fix typo in copyright header.Tobias Geerinckx-Rice2017-09-051-2/+2
| | | | * doc/guix.texi: Move stray ‘@*’ to where it belongs.
* services: Add auto-enable? parameter to the bluetooth-service.Maxim Cournoyer2017-09-041-3/+8
| | | | | | | | | | | * gnu/services/desktop.scm (bluetooth-configuration): New record. (bluetooth-shepherd-service): Use it. (bluetooth-directory): New method. (bluetooth-service-type): Use it to extend the etc-service-type service. (bluetooth-service): Add `auto-enable?' parameter. * doc/guix.texi (Desktop Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: '%desktop-services' uses NetworkManager instead of Wicd.Ludovic Courtès2017-09-031-1/+4
| | | | | | | | | | | | Discussed at <https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00277.html>. * gnu/services/desktop.scm (%desktop-services): Remove call to 'wicd-service'. Add instances of NETWORK-MANAGER-SERVICE-TYPE and WPA-SUPPLICANT-SERVICE-TYPE. * doc/guix.texi (Networking Services): Document 'network-manager-service-type' as being part of '%desktop-services'. (Desktop Services): Replace Wicd with NM.
* services: mpd: Remove the mpd-file field.Peter Mikkelsen2017-08-311-3/+0
| | | | | | | | | | | | | | | Since MPD switches user, the pid-file must be in a writable dir. This is now always /var/run/mpd/(user)/pid. * gnu/services/audio.scm (mpd-service-type): Add a activation-service extension. (<mpd-configuration>)[pid-file]: Remove. (mpd-service): Rename to... (mpd-shepherd-service): ... this. (mpd-file-name, mpd-service-activation): New procedure. * doc/guix.texi (Audio Services): Document the changes. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add AccountsService service to desktop services.Andy Wingo2017-08-251-8/+21
| | | | | | | * doc/guix.texi (Desktop Services): Add accountsservice-service. * gnu/services/desktop.scm (%accountsservice-activation): (accountsservice-service-type): New public variables. (%desktop-services): Add accountsservice-service.
* gnu: bootloader: Deprecate "device" field in favor of "target".Andy Wingo2017-08-231-9/+17
| | | | | | | | | | | | | | | | | | | | | * gnu/bootloader.scm (<bootloader-configuration>): Deprecate "device" field in favor of "target" field. This is mostly a renaming but also a generalization to support UEFI targets being paths to a mounted partition instead of a device name. * gnu/system/examples/bare-bones.tmpl: * gnu/system/examples/desktop.tmpl: * gnu/system/examples/lightweight-desktop.tmpl: * gnu/system/examples/vm-image.tmpl: * gnu/system/install.scm: * gnu/tests.scm: * gnu/tests/install.scm: * gnu/tests/nfs.scm: * tests/system.scm: Adapt all invocations of bootloader-configuration. * guix/scripts/system.scm (perform-action): Rename device argument to bootloader-target. (process-action): Adapt caller. * doc/guix.texi (Proceeding with the Installation): * doc/guix.texi (Bootloader Configuration): Update documentation.
* services: Add libvirt servicesRyan Moe2017-08-231-0/+709
| | | | | | | | * gnu/services/virtualization.scm: New file. * doc/guix.texi (Virtualization Services): Document it. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Christopher Baines <mail@cbaines.net>
* web: Remove the nginx-service procedure.Christopher Baines2017-08-221-34/+115
| | | | | | | | Now that the service-type has a default value, and configuration record is accessible. * gnu/services/web.scm (nginx-service): Remove procedure. * doc/guix.texi (Web Services): Update and improve NGinx documentation.
* pack: Add "none" compressor.Ricardo Wurmus2017-08-191-1/+1
| | | | | | | | * guix/scripts/pack.scm (%compressors): Add compressor "none"; prepend extension with ".". (self-contained-tarball, docker-image): Assume compressor extensions start with period. * doc/guix.texi (Invoking guix pack): Document it.
* doc: Update Database services in detailed node list.Christopher Baines2017-08-191-1/+1
| | | | | | | This was updated in the Service subsection, but the matching update here was missed. * doc/guix.text (Top): Change database services description.
* maint: Create an ISO9660 installation image in the 'release' target.Danny Milosavljevic2017-08-191-12/+79
| | | | | | * Makefile.am (GUIXSD_IMAGE_BASE): Adapt target file name. (release): Use file-system-type iso9660. * doc/guix.texi: Document installation from DVD.
* gnu: Add mpd service.Peter Mikkelsen2017-08-131-0/+54
| | | | | | | | | | * doc/guix.texi: Add documentation. * gnu/services/audio.scm (<mpd-configuration>): New record type. (mpd-service-type): New service type. * gnu/tests/audio.scm: New file. * gnu/local.mk: Add new files. Signed-off-by: Christopher Baines <mail@cbaines.net>
* doc: Change Database Services description.Christopher Baines2017-08-121-1/+1
| | | | | | | This is overly specific, as this section now includes the documentation for Redis, which is not an SQL database. * doc/guix.texi: Change database services description.
* doc: Fix typo.Leo Famulari2017-08-101-1/+1
| | | | * doc/guix.texi (Invoking guix pack): Fix typo.
* services: Update the Tailon service for Tailon 1.3.0.Christopher Baines2017-08-091-0/+18
| | | | | | | | | | | | Tailon 1.3.0 (upgraded from 1.1.1) adds support for HTTP authentication. * gnu/services/admin.scm (<tailon-configuration-file>): Add http-auth and users configuration values. (tailon-configuration-file-http-auth, tailon-configuration-file-users): New procedures. (tailon-configuration-file-compiler): Add support for the http-auth and users configuration options. * doc/guix.texi (Monitoring Services): Document authentication for Tailon.
* services: Add missing wrap-lines option to tailon.Christopher Baines2017-08-091-0/+5
| | | | | | | | * gnu/services/admin.scm (<tailon-configuration-file>): Add wrap-lines. (tailon-configuration-wrap-lines): New procedure. (tailon-configuration-file-compiler): Add support for wrap-lines. * doc/guix.texi (Monitoring Services): Document the wrap-lines Tailon configuration option.
* Revert "doc: Suggest running guix-daemon with 'sudo -E'."Leo Famulari2017-08-071-5/+2
| | | | | | | | This change might not correct, so we revert it for now: https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00057.html This reverts commit 6a4364335c967f841b53ed35c22f90445437e4b0.
* doc: Suggest running guix-daemon with 'sudo -E'.Ludovic Courtès2017-08-061-2/+5
| | | | | | | Suggested by Martin H. <maze@strahlungsfrei.de>. * doc/contributing.texi (Running Guix Before It Is Installed): Suggest 'sudo -E'.
* build: Add minify build system.Ricardo Wurmus2017-08-041-0/+15
| | | | | | | * guix/build-system/minify.scm: New file. * guix/build/minify-build-system: New file. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document minify-build-system.
* doc: 'patches' field of <origin> can list file-like objects.Ludovic Courtès2017-08-031-1/+2
| | | | | | | | Fixes <http://bugs.gnu.org/27165>. Reported by sirgazil <sirgazil@zoho.com>. * doc/guix.texi (origin Reference): 'patches' can contain file-like objects.
* pull: Fetch source code from Git.Ludovic Courtès2017-08-021-15/+10
| | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (%snapshot-url, with-environment-variable) (with-PATH): Remove. (ensure-guile-git!): New procedure. (%repository-url): New variable. (%default-options): Add 'repository-url' and 'ref'. (show-help, %options): Add '--commit' and '--url'. (temporary-directory, first-directory, interned-then-deleted) (unpack): Remove. (build-from-source): Rename 'tarball' to 'source'. Remove call to 'unpack'. (build-and-install): Rename 'tarball' to 'source'. (honor-lets-encrypt-certificates!, report-git-error): New procedures. (with-git-error-handling): New macro. (guix-pull)[fetch-tarball]: Remove. Wrap body in 'with-git-error-handling'. Rewrite to use 'latest-repository-commit'. * build-aux/build-self.scm (build): Print an error message and exit when GUILE-GIT is #f. * doc/guix.texi (Invoking guix pull): Mention Git. Document '--commit' and '--branch'.
* build: Make Guile-Git a hard requirement.Ludovic Courtès2017-08-021-0/+4
| | | | | | * configure.ac: Error out when (git) is missing. * doc/guix.texi (Requirements): Mention Guile-Git. * Makefile.am (MODULES): Add guix/git.scm unconditionally.
* services: openssh: Extensions provide extra authorized keys.Ludovic Courtès2017-07-301-0/+12
| | | | | | * gnu/services/ssh.scm (extend-openssh-authorized-keys): New procedure. (openssh-service-type)[compose, extend]: New fields. * doc/guix.texi (Networking Services): Document the extension.
* services: openssh: Add 'authorized-keys' field.Ludovic Courtès2017-07-301-2/+27
| | | | | | | | | | * gnu/services/ssh.scm (<openssh-configuration>)[authorized-keys]: New field. (authorized-key-directory): New procedure. (openssh-config-file): Honor 'authorized-keys'. (openssh-activation): Use 'with-imported-modules'. Make /etc/ssh 755. Create /etc/ssh/authorized_keys.d. * doc/guix.texi (Networking Services): Document it.
* doc: Give an example of arguments for the 'run-vm.sh' script.Ludovic Courtès2017-07-301-1/+7
| | | | | | | Suggested by Oleg Pykhalov <go.wigust@gmail.com>. * doc/guix.texi (Invoking guix system): Give an example of passing arguments to the 'run-vm.sh' script.
* services: Add memcached.Christopher Baines2017-07-301-0/+32
| | | | | | | | | | * gnu/services/databases.scm (memcached-service-type, %memcached-accounts): New variables. (<memcached-configuration>): New record type. (memcached-service-type): New procedures. * gnu/tests/databases.scm: New file. * doc/guix.texi (Database Services): Document the new memcached service. * gnu/local.mk (GNU_SYSTEM_MODULES): Add entry for tests/databases.scm.
* gnu: services: admin: Add tailon.Christopher Baines2017-07-291-0/+90
| | | | | | | | | | | * gnu/services/admin.scm (<tailon-configuration>, <tailon-configuration-file>): New record types. (tailon-configuration-files-string, tailon-shepherd-service): New procedures. (%tailon-accounts, tailon-service-type: New variables. * doc/guix.texi (Monitoring Services: Document the Tailon service. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/admin.scm. * gnu/tests/admin.scm: New file.
* gnu: Add fcgiwrap service.Andy Wingo2017-07-261-1/+52
| | | | | | | | | * doc/guix.texi (Web Services): Add documentation. * gnu/services/web.scm (<fcgiwrap-configuration>): New record type. (fcgiwrap-accounts, fcgiwrap-shepherd-service): New service extensions. (fcgiwrap-service-type): New service type. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Add 'guix weather'.Ludovic Courtès2017-07-251-1/+74
| | | | | | | | | | * guix/scripts/weather.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (Substitutes, Invoking guix publish): Mention "guix weather". (Invoking guix weather): New node. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
* services: cuirass: Add fallback parameter.Mathieu Othacehe2017-07-211-0/+4
| | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>)[fallback?]: New field. (cuirass-shepherd-service): Take it into account. * doc/guix.texi (Continuous Integration): Document it.
* publish: Make the cache eviction policy less aggressive.Ludovic Courtès2017-07-211-1/+2
| | | | | | | | Suggested by Mark H Weaver <mhw@netris.org>. * guix/scripts/publish.scm (nar-expiration-time): New procedure. (render-narinfo/cached): Use it as the #:entry-expiration passed to 'maybe-remove-expired-cache-entries'.
* doc: Show the "git clone" command.Ludovic Courtès2017-07-201-1/+7
| | | | | | Suggested by Joshua Branson <jbranso91@gmail.com>. * doc/contributing.texi (Building from Git): Add "git clone" command.
* doc: Discuss when to run a GC.Ludovic Courtès2017-07-201-0/+16
| | | | * doc/guix.texi (Invoking guix gc): Add a paragraph on when to run a GC.