aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* 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.
* services: nfs: Allow rpcbind-service-type to be extended.Ricardo Wurmus2020-01-08
| | | | | * gnu/services/nfs.scm (rpcbind-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
* services: nfs: Fix name of package variable.Ricardo Wurmus2020-01-08
| | | | | * gnu/services/nfs.scm (rpcbind-service-type): Correct name from nfs-utils to rpcbind.
* services: Add pulseaudio service.Oleg Pykhalov2020-01-08
| | | | | | * gnu/services/sound.scm (pulseaudio-environment): New procedure. (pulseaudio-service-type): New variable. * doc/guix.texi (Sound Services): Document it.
* Adjust module autoloads.Ludovic Courtès2020-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Guile < 2.9.7, autoloading a module would give you access to all its bindings. In future versions, autoloading a module gives access only to the listed bindings, as per #:select (see <https://bugs.gnu.org/38895>). This commit adjusts autoloads to the new semantics, allowing Guix to be built with Guile 2.9.7/2.9.8. * guix/build/download.scm <top level>: Remove call to 'module-autoload!'. (load-gnutls): New procedure. (tls-wrap): Call it. * guix/git.scm <top level>: Remove call to 'module-autoload!'. (load-git-submodules): New procedure. (update-submodules): Call it instead of 'resolve-interface'. * gnu/bootloader/grub.scm: Replace #:autoload with #:use-module. * gnu/packages.scm: Likewise. * gnu/packages/ssh.scm: Likewise. * gnu/packages/tex.scm: Likewise. * gnu/services/cuirass.scm: Likewise. * gnu/services/mcron.scm: Likewise. * guix/lint.scm: Augment list of bindings in #:autoload. * guix/scripts/build.scm: Likewise. * guix/scripts/gc.scm: Likewise. * guix/scripts/pack.scm: Likewise. * guix/scripts/publish.scm: Likewise. * guix/scripts/pull.scm: Likewise. * guix/utils.scm: Remove unnecessary #:autoload clauses; replace one of them with #:use-module.
* services: host-name: Make service one-shot.Efraim Flashner2020-01-05
| | | | | * gnu/services/base.scm (host-name-service-type): Remove 'respawn?' keyword from shepherd-service-type, add 'one-shot?'.
* services: console-font: Update example with HDPI font suggestion.Jan Nieuwenhuizen2019-12-30
| | | | | | | | | This solution was kindly provided by Bernard M. Wiedemann. * gnu/services/base.scm (console-font-service-type): Add ter132n (terminus 132 nomal) font example, for HDPI displays. * doc/guix.texi (Invoking guix system): Update to `guix system search console' example output.
* services: dhcp-client: Ignore interfaces that cannot be activated.Brice Waegeneire2019-12-29
| | | | | | | | | Fixes <https://bugs.gnu.org/38524>. * gnu/services/networking.scm (dhcp-client-service-type): Filter interfaces that cannot be activated. Signed-off-by: Ludovic Courtès <ludo@gnu.org>