summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* Revert "services: Add ‘/usr/bin/env’ special file."Mark H Weaver2019-09-06
| | | | | | | | This reverts commit 3b38bf141a464e1bb370af7d2b2651d1efb29781. The Guix project discussed this years ago and decided against including /usr/bin/env. That decision should not be reversed without a wider discussion.
* services: Fix typo.Efraim Flashner2019-09-06
| | | | | | This is a follow-up to 3b38bf141a464e1bb370af7d2b2651d1efb29781. * gnu/services/base.scm (%base-services): Remove duplicated line.
* services: Add ‘/usr/bin/env’ special file.Tobias Geerinckx-Rice2019-09-06
| | | | | * gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to special-files-service-type.
* services: nginx: Pass run-directory on config test.Robert Vollmert2019-09-04
| | | | | | | | | Fixes <https://bugs.gnu.org/36388>. This fixes error logging errors in the activation script. * gnu/services/web.scm (nginx-activation): Add "-p" flag. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’.Tobias Geerinckx-Rice2019-08-31
| | | | | | * gnu/services/cups.scm (error-policy, cups-configuration): Substitute RETRY-CURRENT-JOB for the obsolete RETRY-THIS-JOB name of this policy. * doc/guix.texi (Printing Services): Likewise.
* services: cups: Move SET-ENV to FILES-CONFIGURATION.Tobias Geerinckx-Rice2019-08-30
| | | | | | * gnu/services/cups.scm (cups-configuration): Move SET-ENV from here… (files-configuration): …to here. * doc/guix.texi (Printing Services): Adjust accordingly.
* services: cups: Add BrowseDNSSDSubTypes directive.Tobias Geerinckx-Rice2019-08-30
| | | | | | | * gnu/services/cups.scm (comma-separated-string-list?) (serialize-comma-separated-string-list): New variables. (cups-configuration)[browse-dns-sd-sub-types]: New field. * doc/guix.texi (Printing Services): Document it.
* services: cuirass: Log web interface to separate file.Ricardo Wurmus2019-08-29
| | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>): Add web-log-file field. (cuirass-shepherd-service): Read it and use it. * doc/guix.texi (Continuous Integration): Document it.
* gnu: enlightenment: Update to 0.23.0.Efraim Flashner2019-08-28
| | | | | | | | | | | | * gnu/packages/enlightenment.scm (enlightenment): Update to 0.23.0. [build-system]: Switch to meson-build-system. [arguments]: Add configure-flag to build without systemd. Remove 'bootstrap phase. Update substitutions in custom 'set-system-actions phase. [inputs]: Add bluez, pulseaudio. * gnu/packages/patches/enlightenment-fix-setuid-path.patch: Update. * gnu/services/desktop.scm (enlightenment-setuid-programs): Update location of 'freqset binary. Add 'cpuclock_sys to setuid binaries.
* services: cups: Update SSL-OPTIONS docstring.Tobias Geerinckx-Rice2019-08-27
| | | | | | | This follows up on commit f9c1ebdb7daea30ceaf73f43bf15c222dc4a58ad. * gnu/services/cups.scm (cups-configuration)<ssl-options>: Update docstring.
* services: cups: Complete SSL-OPTIONS.Tobias Geerinckx-Rice2019-08-27
| | | | | | | | …except for ‘AllowDH’, which makes no sense on GNU TLS systems. * gnu/services/cups.scm (ssl-options?): Validate ‘DenyCBC’ and ‘DenyTLS1.0’. * doc/guix.texi (Printing Services): Document them both.
* services: cuirass: Split into two separate services.Ricardo Wurmus2019-08-26
| | | | | * gnu/services/cuirass.scm (cuirass-shepherd-service): Return two shepherd services, one for the web interface, another for building packages.
* services: tlp, thermald: Add descriptions.Ludovic Courtès2019-08-26
| | | | | * gnu/services/pm.scm (tlp-service-type)[description]: New field. (thermald-service-type)[description]: New field.
* services: console-fonts: Update docstring.John Soo2019-08-22
| | | | | | | * gnu/services/base (console-font-service-type): Add documentation about valid arguments. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* guix system: Add 'reconfigure' module.Jakob L. Kreuze2019-07-26
| | | | | | | | | | | | | | * guix/scripts/system/reconfigure.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/system.scm (bootloader-installer-script): Export variable. * gnu/machine/ssh.scm (switch-to-system, upgrade-shepherd-services) (install-bootloader): Delete variable. * gnu/machine/ssh.scm (deploy-managed-host): Rewrite procedure. * gnu/services/herd.scm (live-service): Export variable. * gnu/services/herd.scm (live-service-canonical-name): New variable. * tests/services.scm (live-service): Delete variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: network-manager: Clear default OpenVPN user.Jelle Licht2019-07-17
| | | | | * gnu/services/networking.scm (network-manager-shepherd-service): Clear 'NM_OPENVPN_USER' and 'NM_OPENVPN_GROUP' in #:environment-variables.
* services: network-manager: Properly load vpn pluginsJelle Licht2019-07-17
| | | | | | | Extends the dbus service when vpn plugins are enabled. * gnu/services/networking.scm (network-manager-service-type): Load vpn plugins when extending dbus service.
* gnu: postgres service: More secure default permissions.Robert Vollmert2019-07-02
| | | | | | | | | | This changes to 'peer' authentication for local socket connections, and password-based authentication for local network connections. * gnu/services/databases.scm (%default-postgres-hba): Change authentication method. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* etc: Remove hydra.gnu.org.pub key.Tobias Geerinckx-Rice2019-06-29
| | | | | | | | | * etc/substitutes/hydra.gnu.org.pub: Delete file. * guix/self.scm (miscellaneous-files): Don't install it. * Makefile.am (dist_pkgdata_DATA): Remove it. * gnu/services/base.scm (%default-authorized-guix-keys): Likewise. (hydra-key-authorization): Rename to… (substitute-key-authorization): …this. Adjust only call site.
* services: network-manager: Create '/var/lib/misc' directory for dnsmasq.Florian Pelz2019-06-24
| | | | | | | | | * gnu/services/networking.scm (%network-manager-activation): Rename to... (network-manager-activation): ... this and make it a procedure. Make it create '/var/lib/misc' when using dnsmasq. (network-manager-service-type): Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: opensmtpd: Extend the PAM service.Kristofer Buffington2019-06-20
| | | | | | | | * gnu/services/mail.scm (%opensmtpd-pam-services): New variable. (opensmtpd-service-type)[extensions]: Add it, extending PAM-ROOT-SERVICE-TYPE. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* services: Fix typo in (gnu services mail) exports.Tobias Geerinckx-Rice2019-06-20
| | | | | * gnu/services/mail.scm (define-module): Re-spell ‘%default-imap4d-config-file’.
* services: Include USB_ModeSwitch in %desktop-services.Florian Pelz2019-06-15
| | | | | | | | | Fixes <https://bugs.gnu.org/35640>. * gnu/services/desktop.scm (%desktop-services): Add usb-modeswitch-service-type. * doc/guix.texi (Networking Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: Add usb-modeswitch-service-type.Florian Pelz2019-06-15
| | | | | | | | | | * gnu/services/networking.scm (usb-modeswitch-service-type): New variable. (usb-modeswitch-configuration): New variable. (usb-modeswitch-sh): New procedure. (usb-modeswitch-configuration->udev-rules): New procedure. * doc/guix.texi (Networking Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: Remove unneeded imports that led to cycles.Ludovic Courtès2019-06-15
| | | | | | | | | Fixes <https://bugs.gnu.org/36207>. Reported by Jack Hill <jackhill@jackhill.us>. * gnu/services/admin.scm: Remove unneeded import of (gnu services base). * gnu/services/mcron.scm: Likewise.
* services: Import (srfi srfi-26) from the build side.Tobias Geerinckx-Rice2019-06-12
| | | | | | | See <https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00119.html>. * gnu/services/nix.scm (nix-activation): Remove (srfi srfi-26) from (host-) imported modules.
* services: Add SRFI-26 to Nix activation gexp.Tobias Geerinckx-Rice2019-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following fatal error on ‘guix system reconfigure’: Backtrace: 18 (primitive-load "/home/nckx/.config/guix/current/bin/guix") In guix/ui.scm: 1620:12 17 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 16 (catch _ _ #<procedure 7a7caa2d4c80 at guix/ui.scm:587:2 (key c)> _) 829:9 15 (catch _ _ #<procedure 7a7caa2d4c98 at guix/ui.scm:710:6 (key proc format-string format-args . …> …) In guix/scripts/system.scm: 1325:8 14 (_) In guix/status.scm: 768:4 13 (call-with-status-report _ _) In guix/scripts/system.scm: 1181:4 12 (process-action _ _ _) In guix/store.scm: 623:10 11 (call-with-store _) 1800:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _) In guix/scripts/system.scm: 920:13 9 (_ _) 409:8 8 (_ _) In unknown file: 7 (primitive-load "/gnu/store/dha7j9gcz3vgb8cy7vfvvaswwsywrrzj-activate") In ice-9/boot-9.scm: 260:13 6 (for-each #<procedure primitive-load (_)> _) In unknown file: 5 (primitive-load "/gnu/store/ql1xjxrssxm51z2bn2v6l3mlrncij84h-activate-service") In ice-9/eval.scm: 619:8 4 (_ #f) 196:35 3 (_ #f) 196:27 2 (_ #f) 223:20 1 (proc #<directory (guile-user) 1fa4140>) In unknown file: 0 (%resolve-variable (7 . cut) #<directory (guile-user) 1fa4140>) ERROR: In procedure %resolve-variable: error: cut: unbound variable Reported-by: Alex McGrath on #guix. * gnu/services/nix.scm (nix-activation): Import and use (srfi srfi-26).
* services: slim: Update SLiM theme to 1.x.Diego Nicola Barbato2019-06-10
| | | | | | * gnu/services/xorg.scm (%default-slim-theme-name): Change to "1.x". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: guix-publish: Configure log rotation.Christopher Baines2019-06-10
| | | | | * gnu/services/base.scm (%guix-publish-log-rotations): New variable. (guix-publish-service-type): Extend the rottlog-service-type.
* services: guix-publish: Log to a file.Christopher Baines2019-06-10
| | | | | | | This makes it easier to read the output, as it's recorded in a file. * gnu/services/base.scm (guix-publish-shepherd-service): Add #:log-file to make-forkexec-constructor.
* services: Add 'nix-service-type'.Oleg Pykhalov2019-06-10
| | | | | | * gnu/services/nix.scm: New file. * gnu/local.mk: Add this. * doc/guix.texi (Miscellaneous Services): Document this.
* services: Add Singularity.Ludovic Courtès2019-06-07
| | | | | | | | | | | | * gnu/packages/linux.scm (singularity)[source](snippet): Change file name of setuid helpers in libexec/cli/*.exec. [arguments]: Remove "--disable-suid". * gnu/services/docker.scm (%singularity-activation): New variable. (singularity-setuid-programs): New procedure. (singularity-service-type): New variable. * gnu/tests/singularity.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Miscellaneous Services): Document it.
* services: Add auditd.Danny Milosavljevic2019-06-06
| | | | | | * gnu/services/auditd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Miscellaneous Services): Document it.
* services: cups: Create /var/cache on activation.Alex Griffin2019-06-05
| | | | | | | * gnu/services/cups.scm (%cups-activation): Create /var/cache if it doesn't exist yet. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* 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.