aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
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'.
* herd: Use the Guile 2.2 'setvbuf' API.Ludovic Courtès2019-06-02
| | | | * gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
* 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.
* 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>
* services: cgit: Fix typo.Arun Isaac2019-05-25
| | | | | * gnu/services/cgit.scm (cgit-configuration)[root-readme]: Replace "thef" with "the".
* gnu: git-daemon-service-type: Fix typo "repositories".Vagrant Cascadian2019-05-22
| | | | * gnu/services/version-control (git-daemon-service-type)[description]: Fix typo.
* gnu: darkstat-service-type: Fix typo "statistics".Vagrant Cascadian2019-05-22
| | | | * gnu/services/monitoring (darkstat-service-type)[description]: Fix typo.
* tests: Skip unreliable "herd invalidate nscd" test.Ludovic Courtès2019-05-15
| | | | | * gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong table"]: Skip unconditionally.
* services: Include ModemManager in %desktop-services.Florian Pelz2019-05-15
| | | | | | * gnu/services/desktop.scm (%desktop-services): Add modem-manager-service-type. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Update copyright line.Gábor Boskovits2019-05-15
| | | | * gnu/services/monitoring.scm: Update copyright line.
* services: Add 'network-manager-applet' to %DESKTOP-SERVICES.Ludovic Courtès2019-05-14
| | | | | | | | Fixes <https://bugs.gnu.org/35554>. Reported by Calle Kabo <calle@kabo.nu>. * gnu/services/desktop.scm (%desktop-services): Add 'network-manager-applet' service.
* services: prometheus-node-exporter add default.Gábor Boskovits2019-05-13
| | | | | * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Add default-value with default configuration.
* services: mcron: Log to a file.Christopher Baines2019-05-12
| | | | | | | This makes it easier to read the output, as it's recorded in a file. * gnu/services/mcron.scm (mcron-shepherd-services): Add #:log-file to make-forkexec-constructor.
* services: gdm: Include user profile in D-Bus paths.Timothy Sample2019-05-11
| | | | | | | | This partially addresses <https://bugs.gnu.org/35267>. * gnu/services/xorg.scm (dbus-daemon-wrapper): When available, include directories from '~/.guix-profile' in the search paths of the D-Bus daemon.
* services: dhcp-client: Ignore interfaces that are not ARP capable.Marius Bakke2019-05-09
| | | | | * gnu/services/networking.scm (dhcp-client-service-type): Filter interfaces that do not support the ARP protocol.
* services: Log-in services now require "pam_loginuid".Ludovic Courtès2019-05-09
| | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/35553>. Reported by Bruno Haible <bruno@clisp.org>. * gnu/services/base.scm (login-pam-service): Pass #:login-uid? #t to 'unix-pam-service'. * gnu/services/ssh.scm (lsh-pam-services, openssh-pam-services): Likewise. * gnu/services/xorg.scm (slim-pam-service): Likewise. (gdm-pam-service): Likewise for "gdm-autologin" and "gdm-password". * gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: New test. * gnu/tests/ssh.scm (run-ssh-test): Add #:test-getlogin? parameter. ["getlogin"]: New test. (%test-dropbear): Pass #:test-getlogin? #f.
* services: slim: Provide the 'xorg-server' Shepherd service.Ludovic Courtès2019-05-09
| | | | | | | This is a followup to 61569171d03146f41ba1b9aedf29fd8fa78d6102. * gnu/services/xorg.scm (slim-shepherd-service): Add 'xorg-server' to 'provision' when VT is "vt7".
* 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.
* services: slim: Allow SLiM to be started on multiple ttys.Diego Nicola Barbato2019-05-07
| | | | | | | | | | | | | | | | | | | | This change makes it possible to add multiple SLiM services to an operating system configuration by setting the new 'display' and 'vt' fields in their configurations to different values. Each SLiM service will get its own authfile, logfile, lockfile, and shepherd service, which will start SLiM on a different tty. * gnu/services/xorg.scm: Export slim-configuration-display and slim-configuration-vt. (<slim-configuration>)[display, vt]: New fields. (slim-shepherd-service): Refactor let. [slim.cfg]: Use new fields for setting display_name, xserver_arguments, authfile, lockfile, and logfile. [shepherd-service][provision]: Name the shepherd service according to the value of 'vt'. [shepherd-service][start]: Delete the right lockfile. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: docker: Add new fields to support proxy.Maxim Cournoyer2019-05-05
| | | | | | | | | | The Docker proxy enables inter-container and outside-to-container loopback, and is required by the Docker registry server. * gnu/services/docker.scm (docker-configuration)[proxy, enable-proxy?]: Add fields. (docker-shepherd-service): Use them. (serialize-boolean): New function.
* services: colord: Make public and searchable.Ludovic Courtès2019-04-30
| | | | | * gnu/services/desktop.scm (colord-service-type): Make public. [description]: New field.
* services: bluetooth: Make public and searchable.Ludovic Courtès2019-04-30
| | | | | | | | Until now 'guix system search bluetooth' would turn up nothing. * gnu/services/desktop.scm (bluetooth-service-type) (bluetooth-configuration): Make public. (bluetooth-service-type)[description]: New field.
* services: slim: Honor the value of slim from slim-configuration.Diego Nicola Barbato2019-04-29
| | | | | | | | | Previously setting the slim field in slim-configuration would have no effect. * gnu/services/xorg.scm (slim-shepherd-service): Remove unused let binding for slim. Use (slim-configuration-slim config) instead of the default slim. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Remove unused module reference.Ricardo Wurmus2019-04-28
| | | | * gnu/services/web.scm: Remove reference to (gnu packages guile).
* gnu: knot: Fix typos.Julien Lepiller2019-04-27
| | | | * gnu/services/dns.scm: Fix typos.
* 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.
* services: knot: Fix configuration file generation.Ludovic Courtès2019-04-27
| | | | | | | | Fixes a regression introduced in 92eb600f8a94afa36142f8f145efaa485b632433. * gnu/services/dns.scm (knot-config-file): Add ungexp around call to 'knot-configuration-includes'.
* services: file-system: Filter what goes to /etc/fstab.Ludovic Courtès2019-04-27
| | | | | | | | | | Fixes a longstanding issue whereby, due to our long fstab that included pseudo file systems like cgroup mounts, graphical file managers would display all of these. Initially reported at <https://lists.gnu.org/archive/html/help-guix/2017-11/msg00084.html>. * gnu/services/base.scm (file-system-fstab-entries): New procedure. (file-system-service-type): Use it to extend FSTAB-SERVICE-TYPE.
* gnu: dns: Fix configuration formating.Julien Lepiller2019-04-26
| | | | | * gnu/services/dns.scm (format-string-list): Fix formating of lists with only one symbol.
* services: cups-pk-helper: Export.Ludovic Courtès2019-04-26
| | | | * gnu/services/desktop.scm (cups-pk-helper-service-type): Export.
* 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.
* services: fprintd: Provide polkit policy.Danny Milosavljevic2019-04-24
| | | | | * gnu/services/authentication.scm (fprintd-service-type)[extensions]: Add polkit-service-type.
* services: connman: Redirect output to a log file.Ludovic Courtès2019-04-23
| | | | | * gnu/services/networking.scm (connman-shepherd-service): Pass #:log-file to 'make-forkexec-constructor'.
* linux-container: Remove '%containerized-shepherd-service' hack.Ludovic Courtès2019-04-23
| | | | | | | | | This hack worked around a defect in the Shepherd 0.5.0 and is no longer needed. * gnu/services/shepherd.scm (%containerized-shepherd-service): Remove. * gnu/system/linux-container.scm (container-essential-services): Don't use it.
* 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.
* services: fprintd: Use define-configuration.Danny Milosavljevic2019-04-21
| | | | * gnu/services/authentication.scm: Use define-configuration in fprintd.
* services: fprintd: Fix service.Danny Milosavljevic2019-04-17
| | | | | | | | * gnu/services/authentication.scm (<fprintd-configuration>)[ntp]: Rename to... [fprintd]: ...this. (fprintd-dbus-service): New procedure. (fprintd-service-type): Use it. [default-value]: Add value.
* services: sddm: Switch back to using ‘startx’.frozenpigs2019-04-11
| | | | | | | * gnu/services/sddm.scm (sddm-configuration-file): Use XORG-START-COMMAND. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* services: dropbear: Add default value.Ludovic Courtès2019-04-07
| | | | | * gnu/services/ssh.scm (dropbear-service-type)[default-value]: New field.
* services: Add 'imap4d-service-type'.宋文武2019-04-07
| | | | | | | * gnu/services/mail.scm (<imap4d-configuration>): New record type. (imap4d-shepherd-service): New procedure. (%default-imap4d-config-file, imap4d-service-type): New variables. * gnu/services/mail.scm (Mail Services): Document it.
* services: wpa-supplicant: Log to syslog.Ludovic Courtès2019-04-05
| | | | | * gnu/services/networking.scm (wpa-supplicant-shepherd-service): Pass "-s" to 'wpa_supplicant'. Add 'syslogd' to 'requirement'.
* services: localed: Do nothing for unconfigured keyboards.Ludovic Courtès2019-04-05
| | | | | | * gnu/services/xorg.scm (localed-service-type)[package]: Return the empty list when the 'keyboard-layout' field is #f. [compose]: Use 'find' instead of 'first'.
* services: localed: Properly handle lack of a 'keyboard-layout'.Ludovic Courtès2019-04-05
| | | | | | | Fixes a type error when KEYBOARD-LAYOUT is #f. * gnu/services/xorg.scm (localed-dbus-service): Return the empty list when KEYBOARD-LAYOUT is #f.
* services: gdm: Properly handle empty extensions lists.Ludovic Courtès2019-04-05
| | | | | | | | | | | | | | Fixes a bug whereby not extending GDM would lead us to do: (first '()) in the 'compose' method. Regression introduced in 305a732a0a19c5810aab401aa7d70eba02ac386b. * gnu/services/xorg.scm (gdm-service-type)[compose]: Handle the case where EXTENSIONS is empty. [extend]: Handle the case where XORG-CONFIGURATION is #f.
* services: console-keymap: Deprecate.Ludovic Courtès2019-04-05
| | | | | * gnu/services/base.scm (console-keymap-service): Mark as deprecated. * doc/guix.texi (Base Services): Remove its documentation.
* services: xorg: Add 'set-xorg-configuration'.Ludovic Courtès2019-04-05
| | | | | | | | * gnu/services/xorg.scm (gdm-service-type)[compose, extend]: New fields. (set-xorg-configuration): New procedure. * doc/guix.texi (Keyboard Layout): Use it. (X Window): Document it. * gnu/system/examples/desktop.tmpl: Add 'keyboard-layout' fields.
* services: Add 'localed' service type and have GDM extend it.Ludovic Courtès2019-04-05
| | | | | | | | | | This fixes a bug whereby GDM would always switch to US English keyboard layout regardless to the configured Xorg keyboard layout. * gnu/services/xorg.scm (<localed-configuration>): New record type. (localed-dbus-service): New procedure. (localed-service-type): New variable. (gdm-service-type): Extend LOCALED-SERVICE-TYPE.
* services: dbus: 'wrapped-dbus-service' accepts a list of variables.Ludovic Courtès2019-04-05
| | | | | | | * gnu/services/dbus.scm (wrapped-dbus-service): Replace 'variable' and 'value' by 'variables', and adjust code accordingly. * gnu/services/desktop.scm (upower-dbus-service): (geoclue-dbus-service, elogind-dbus-service): Adjust accordingly.