aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* services: nfs: Remove unnecessary "mount" invocation.Ludovic Courtès2020-03-16
| | | | | | * gnu/services/nfs.scm (%nfs-activation): Remove unnecessary "mount" invocation (/proc/fs/nfsd is automatically mounted, somehow). Remove unnecessary 'mkdir-p' call.
* services: nfs: Move activation snippet out of line.Ludovic Courtès2020-03-16
| | | | | * gnu/services/nfs.scm (%nfs-activation): New variable. (nfs-service-type)[extensions]: Refer to %NFS-ACTIVATION.
* tests: opensmtpd: Check /var/spool/mail instead of /var/mail.Ludovic Courtès2020-03-16
| | | | | | | | | The test had been failing since the upgrade to 6.6.3p1 in commit 2dbfd8eec43b602d23cee3fdd2842cc333e36c24. * gnu/services/mail.scm (opensmtpd-activation): Create /var/spool/mail. * gnu/tests/mail.scm (run-opensmtpd-test): Check /var/spool/mail instead of /var/mail.
* services: dhcpd: Use 'invoke/quiet' when validating the config file.Ludovic Courtès2020-03-16
| | | | | | | This avoids the lengthy copyright/config message from dhcpd. * gnu/services/networking.scm (dhcpd-activation): Use 'invoke/quiet' instead of 'invoke'.
* services/web: Export nginx-configuration-global-directives.Ricardo Wurmus2020-03-16
| | | | | | | This is a follow-up to commit b420e6deb96e0760f12e3d941b76e690c4235e47. * gnu/services/web.scm (nginx-configuration-global-directives): Export procedure.
* services: nginx: Fix broken default configuration.Tobias Geerinckx-Rice2020-03-16
| | | | | | * gnu/services/web.scm (nginx-configuration): Emit an empty events{} block by default. * doc/guix.texi (Web Services): Document it.
* services/web: nginx-configuration: Add support for global directives.Ricardo Wurmus2020-03-15
| | | | | | | * gnu/services/web.scm (<nginx-configuration>)[global-directives]: Add field. (emit-global-directive): New procedure. (default-nginx-config): Use it. * doc/guix.texi (Web Services): Document it.
* services/web: Remove empty events directive from default-nginx-config.Ricardo Wurmus2020-03-15
| | | | * gnu/services/web.scm (default-nginx-config): Remove empty events directive.
* services: mumi-service-type: Update to latest version of mumi.Ricardo Wurmus2020-03-12
| | | | | * gnu/services/web.scm (%mumi-activation): Create /var/mumi/db. (mumi-shepherd-services): Add service for mumi worker.
* services: cuirass: Allow passing extra command line options.Christopher Baines2020-03-08
| | | | | | | | | | | This is so that the options supported by the service configuration don't have to always be changed. Generally though all options should be explicitly supported and documented, so this is mostly to facilitate experimentation. * gnu/services/cuirass.scm (<cuirass-configuration>): Add an extra-options field. (cuirass-shepherd-service): Pass the extra options to the shepherd servvices. * doc/guix.texi (Continuous Integration): Document it.
* services: guix-data-service: Allow passing extra options.Christopher Baines2020-03-08
| | | | | | | | | | | | This is so that the options supported by the service configuration don't have to always be changed. Generally though all options should be explicitly supported and documented, so this is mostly to facilitate experimentation. * gnu/services/guix.scm (<guix-data-service-configuration>): Add extra-options and extra-process-jobs-options to the record type. (guix-data-service-shepherd-services): Handle these new configuration record fields. * doc/guix.texi (Guix Data Service): Document these new options.
* services: certbot: Add server option.Jack Hill2020-03-08
| | | | | | | | | | | * gnu/services/certbot.scm (certbot-configuration): Add server option. (certbot-command): Use server option. (certbot-actication): Use server option. (certbot-nginx-server-configurations): Use server option. * doc/guix.texi (Certificate Services): Document server option. Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: nfs: Run rpc.mountd in foreground.Maxim Cournoyer2020-03-08
| | | | | | | | | | Fixes <https://bugs.gnu.org/39708>. Shepherd doesn't keep track of processes that fork themselves and would disable the process after restarting it a couple times. * gnu/services/nfs.scm (nfs-shepherd-services): Invoke rpc.mountd with the '--foreground' option.
* gnu: eudev: Add variant with corrected Btrfs rules.Ludovic Courtès2020-03-07
| | | | | | | | Discussed at <https://bugs.gnu.org/39926>. * gnu/packages/linux.scm (eudev/btrfs-fix): New variable. * gnu/services/base.scm (<udev-configuration>)[udev]: Default to it. (udev-service): Likewise for #:udev.
* services: herd: Add restart-service.Mathieu Othacehe2020-03-03
| | | | * gnu/services/herd.scm (restart-service): New exported procedure.
* services: set-xorg-configuration: handle slim and sddmJakub Kądziołka2020-03-01
| | | | | | * gnu/services/xorg.scm (handle-xorg-configuration): New syntax. (gdm-service-type, slim-service-type): Use handle-xorg-configuration. * gnu/services/sddm.scm (sddm-service-type): Likewise.
* services: udev: Do not rely on shepherd inheriting environment variables.Florian Pelz2020-02-20
| | | | | | | Fixes <https://bugs.gnu.org/39671>. * gnu/services/base.scm (udev-shepherd-service)[start] Move or copy environment variables to 'fork+exec-command' instead of 'setenv'.
* gnu: services: Add openvpn options.Julien Lepiller2020-02-19
| | | | | * gnu/services/vpn.scm (openvpn-client-configuration) (openvpn-server-configuration): Add fast-io? and auth-user-pass options.
* gnu: services: Fix openvpn boolean fields.Julien Lepiller2020-02-19
| | | | * gnu/services/vpn.scm (serialize-boolean): Do not print #t to the file.
* services: shepherd: Spawn services with nothing but the PATH variable.Ludovic Courtès2020-02-16
| | | | | | | | | Previously, services spawned with 'make-forkexec-constructor' & co. would all inherit the environment variables of PID 1, which includes things like 'BOOT_IMAGE'. This change resets it to the bare minimum. * gnu/services/shepherd.scm (shepherd-configuration-file): Add call to 'default-environment-variables'. Remove 'setenv' call.
* doc: Fix typo.Efraim Flashner2020-02-16
| | | | | | | * doc/guix.texi (X Window)[sddm-service-type]: SSDM -> SDDM typo fix. [sddm-configuration]: Also list 'maya' theme. * gnu/services/sddm.scm (sddm-service): Fix typo in doc string. (sddm-configuration): Also list 'maya' theme.
* services: xorg: Filter modules based on systemshtwzrd2020-02-16
| | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/39402>. Reported by shtwzrd <shtwzrd@protonmail.com>. * gnu/services/xorg.scm (xorg-configuration): Apply a filter over %default-xorg-modules packages, excluding those for which the %current-system is not among the package's supported-systems. This patch makes it possible to use xorg-configuration on systems other than x86_64 and i686, as without it, xf86-video-intel would be pulled in on the unsupported architecture and fail. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
* services: web: Use the Patchwork default-from-email.Christopher Baines2020-02-09
| | | | | | | Previously this wasn't used, but it should have been. * gnu/services/web.scm (patchwork-settings-module-compiler): Use the default-from-email.
* services: inputattach: Fix broken baud rate option.Tim Gesthuizen2020-02-07
| | | | | | | * gnu/services/desktop.scm (inputattach-shepherd-service): Use "--baud" for setting the baud-rate. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu: tlp: Update to 1.3.0.Nicolas Goaziou2020-02-02
| | | | | | | | | * gnu/packages/linux.scm (tlp): Update to 1.3.0. [source]: Hard-code name in origin URI. [native-inputs]: Add "shellcheck". [arguments]: Activate some tests. Update environment variables. Ignore tlp-rdw man pages. * gnu/services/pm.scm (tlp-activation): Update configuration file name.
* services: virtualization: Add riscv32 and riscv64 to qemu platforms.Vagrant Cascadian2020-02-01
| | | | | | * gnu/services/virtualization (%riscv32): New variable. (%riscv64): New variable. (%qemu-platforms): Add riscv32 and riscv64.
* gnu: Add earlyoom-service-type.Maxim Cournoyer2020-01-31
| | | | | | | | * gnu/services/linux.scm: New file. * tests/services/linux.scm: Add test. * Makefile.am (SCM_TESTS): Register test. * doc/guix.texi (Linux Services): Add a new section and document the new service and its configuration.
* gnu: Update opensmtpd configuration grammar.Tobias Geerinckx-Rice2020-01-31
| | | | | | | | This follows up on commit 0d486909083c98d7c75cdfc027f89e69f9bf8f48. * gnu/services/mail.scm (%default-opensmtpd-config-file): Adapt to ‘new’ ≥6.4 grammar. * gnu/tests/mail.scm (%opensmtpd-os): Likewise.
* services: getmail: Fix spelling of "address".Vagrant Cascadian2020-01-30
| | | | * gnu/services/getmail (getmail-retriever-configuration): Fix typo.
* services: gdm: Disable initial system setup in GDM.Leo Prikler2020-01-28
| | | | | | * gnu/services/xorg.scm (gdm-configuration-file): Disable gnome-initial-setup. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* services: Fix typo in spice-vdagent-service.Damien Cassou2020-01-26
| | | | | | * gnu/services/spice.scm (spice-vdagent-service): Fix typo. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* services: knot-resolver: Manage a root TA at /var/cache/knot-resolver.宋文武2020-01-22
| | | | | * gnu/services/dns.scm (%kresd.conf): Add /var/cache/knot-resolver/root.keys as the root TA.
* services: sane: Create the "scanner" account.Ludovic Courtès2020-01-21
| | | | | | | * gnu/services/desktop.scm (%sane-accounts, sane-service-type): New variables. (%desktop-services): Use SANE-SERVICE-TYPE instead of 'simple-service'. * doc/guix.texi (Desktop Services): Document 'sane-service-type'.
* services: getmail: Adjust a couple of default configuration values.Christopher Baines2020-01-20
| | | | | | | | | Change the message-log-syslog and message-log-verbose configuration values to match the Getmail defaults. * gnu/services/getmail.scm (getmail-options-configuration): Change defaults for message-log-syslog and message-log-verbose * doc/guix.texi (Mail Services): Update the Getmail documentation accordingly.
* services: getmail: Fix some configuration documentation strings.Christopher Baines2020-01-20
| | | | | | * gnu/services/getmail.scm (getmail-retriever-configuration): Specify proper documentation strings for some of the fields. * doc/guix.texi (Mail Services): Update the documentation accordingly.
* services: getmail: Fix stopping the shepherd service.Christopher Baines2020-01-20
| | | | | * gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component to the shepherd services.
* services: Add "sane" service.Danny Milosavljevic2020-01-20
| | | | * gnu/services/desktop.scm (%desktop-services): Add "sane" service.
* gnu: Use HTTPS for avahi.org everywhere.Tobias Geerinckx-Rice2020-01-19
| | | | | * gnu/packages/avahi.scm (avahi)[home-page]: Use HTTPS. * gnu/services/avahi.scm (avahi-service): Likewise in docstring.
* gnu: services: Allow extra content in mysql configuration.Alex Sassmannshausen2020-01-17
| | | | | * gnu/services/databases.scm (<mysql-configuration>): New field. (mysql-configuration-file): Use it.
* gnu: services: Fix mysql service activation.Julien Lepiller2020-01-14
| | | | | | | This change is necessary after the split of mariadb outputs. * gnu/services/databases.scm (%mysql-activation): Use mysql:lib in mariadb-specific part.
* services: Add pulseaudio to %desktop-services.Leo Prikler2020-01-11
| | | | | | | | | Fixes <https://bugs.gnu.org/38172>. Reported by raingloom <raingloom@riseup.net>. * gnu/services/desktop.scm (%desktop-services): Add pulseaudio service. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* services: Split ladspa-service-type from pulseaudio-service-type.Leo Prikler2020-01-11
| | | | | | | | | | * gnu/services/sound.scm (ladspa-configuration): New record. (ladspa-environment): New procedure. (ladspa-service-type): New service type. (pulseaudio-environment): Remove LADSPA_PATH. * doc/guix.texi: Adjust documentation. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* services: pulseaudio-configuration: Set flat-volumes to no.Leo Prikler2020-01-11
| | | | | | | | * gnu/services/sound (pulseaudio-configuration) [daemon-conf]: Disable flat-volumes, which causes unpleasant experiences to users when applications inadvertently max out the system volume (e.g. as in #38172). Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* services: Add pulseaudio-configuration.Leo Prikler2020-01-11
| | | | | | | | | * gnu/services/sound (<pulseaudio-configuration>): New record. (pulseaudio-etc): New procedure. (pulseaudio-environment): Add PULSE_CONFIG and PULSE_CLIENTCONFIG. (pulseaudio-service-type): Update accordingly. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* services: nfs: Add nfs-service-type.Ricardo Wurmus2020-01-08
| | | | | | | | | | | | | | | * gnu/services/nfs.scm (<nfs-configuration>): New record. (nfs-configuration, nfs-configuration?, nfs-configuration-nfs-utils, nfs-configuration-nfs-version, nfs-configuration-exports, nfs-configuration-rpcmountd-port, nfs-configuration-rpcstatd-port, nfs-configuration-rpcbind, nfs-configuration-idmap-domain, nfs-configuration-nfsd-port, nfs-configuration-nfsd-threads, nfs-configuration-pipefs-directory, nfs-configuration-debug, nfs-shepherd-services): New procedures. (nfs-service-type): New variable. * doc/guix.texi (Network File System): Document it. * gnu/tests/nfs.scm (%test-nfs-server): New variable. (%base-os): Use default value of rpcbind-service-type.
* services: nfs: Allow gss-service-type to be extended.Ricardo Wurmus2020-01-08
| | | | | * gnu/services/nfs.scm (gss-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
* services: nfs: Add verbosity control to idmap-service-type.Ricardo Wurmus2020-01-08
| | | | | | | * gnu/services/nfs.scm (<idmap-configuration>)[verbosity]: New field. (idmap-configuration-verbosity): New procedure. (idmap-service-type): Use it. * doc/guix.texi (Network File System): Document it.
* services: nfs: Allow idmap-service-type to be extended.Ricardo Wurmus2020-01-08
| | | | | * gnu/services/nfs.scm (idmap-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
* services: nfs: Fix indentation and typo.Ricardo Wurmus2020-01-08
| | | | | | | | * gnu/services/nfs.scm (<gss-configuration>, <idmap-configuration>): Fix indentation. (<idmap-configuration>): Rename accessor for NFS-UTILS field to IDMAP-CONFIGURATION-NFS-UTILS. (idmap-service-type): Use IDMAP-CONFIGURATION-NFS-UTILS.
* services: nfs: Allow pipefs-service-type to be extended.Ricardo Wurmus2020-01-08
| | | | | * gnu/services/nfs.scm (pipefs-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.