summary refs log tree commit diff
path: root/gnu/services
AgeCommit message (Collapse)Author
2020-02-16services: shepherd: Spawn services with nothing but the PATH variable.Ludovic Courtès
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.
2020-02-16doc: Fix typo.Efraim Flashner
* 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.
2020-02-16services: xorg: Filter modules based on systemshtwzrd
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>
2020-02-09services: web: Use the Patchwork default-from-email.Christopher Baines
Previously this wasn't used, but it should have been. * gnu/services/web.scm (patchwork-settings-module-compiler): Use the default-from-email.
2020-02-07services: inputattach: Fix broken baud rate option.Tim Gesthuizen
* gnu/services/desktop.scm (inputattach-shepherd-service): Use "--baud" for setting the baud-rate. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2020-02-02gnu: tlp: Update to 1.3.0.Nicolas Goaziou
* 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.
2020-02-01services: virtualization: Add riscv32 and riscv64 to qemu platforms.Vagrant Cascadian
* gnu/services/virtualization (%riscv32): New variable. (%riscv64): New variable. (%qemu-platforms): Add riscv32 and riscv64.
2020-01-31gnu: Add earlyoom-service-type.Maxim Cournoyer
* 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.
2020-01-31gnu: Update opensmtpd configuration grammar.Tobias Geerinckx-Rice
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.
2020-01-30services: getmail: Fix spelling of "address".Vagrant Cascadian
* gnu/services/getmail (getmail-retriever-configuration): Fix typo.
2020-01-28services: gdm: Disable initial system setup in GDM.Leo Prikler
* gnu/services/xorg.scm (gdm-configuration-file): Disable gnome-initial-setup. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-01-26services: Fix typo in spice-vdagent-service.Damien Cassou
* gnu/services/spice.scm (spice-vdagent-service): Fix typo. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-01-22services: knot-resolver: Manage a root TA at /var/cache/knot-resolver.宋文武
* gnu/services/dns.scm (%kresd.conf): Add /var/cache/knot-resolver/root.keys as the root TA.
2020-01-21services: sane: Create the "scanner" account.Ludovic Courtès
* 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'.
2020-01-20services: getmail: Adjust a couple of default configuration values.Christopher Baines
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.
2020-01-20services: getmail: Fix some configuration documentation strings.Christopher Baines
* 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.
2020-01-20services: getmail: Fix stopping the shepherd service.Christopher Baines
* gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component to the shepherd services.
2020-01-20services: Add "sane" service.Danny Milosavljevic
* gnu/services/desktop.scm (%desktop-services): Add "sane" service.
2020-01-19gnu: Use HTTPS for avahi.org everywhere.Tobias Geerinckx-Rice
* gnu/packages/avahi.scm (avahi)[home-page]: Use HTTPS. * gnu/services/avahi.scm (avahi-service): Likewise in docstring.
2020-01-17gnu: services: Allow extra content in mysql configuration.Alex Sassmannshausen
* gnu/services/databases.scm (<mysql-configuration>): New field. (mysql-configuration-file): Use it.
2020-01-14gnu: services: Fix mysql service activation.Julien Lepiller
This change is necessary after the split of mariadb outputs. * gnu/services/databases.scm (%mysql-activation): Use mysql:lib in mariadb-specific part.
2020-01-11services: Add pulseaudio to %desktop-services.Leo Prikler
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>
2020-01-11services: Split ladspa-service-type from pulseaudio-service-type.Leo Prikler
* 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>
2020-01-11services: pulseaudio-configuration: Set flat-volumes to no.Leo Prikler
* 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>
2020-01-11services: Add pulseaudio-configuration.Leo Prikler
* 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>
2020-01-08services: nfs: Add nfs-service-type.Ricardo Wurmus
* 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.
2020-01-08services: nfs: Allow gss-service-type to be extended.Ricardo Wurmus
* gnu/services/nfs.scm (gss-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
2020-01-08services: nfs: Add verbosity control to idmap-service-type.Ricardo Wurmus
* 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.
2020-01-08services: nfs: Allow idmap-service-type to be extended.Ricardo Wurmus
* gnu/services/nfs.scm (idmap-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
2020-01-08services: nfs: Fix indentation and typo.Ricardo Wurmus
* 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.
2020-01-08services: nfs: Allow pipefs-service-type to be extended.Ricardo Wurmus
* gnu/services/nfs.scm (pipefs-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
2020-01-08services: nfs: Allow rpcbind-service-type to be extended.Ricardo Wurmus
* gnu/services/nfs.scm (rpcbind-service-type): Rewrite using SERVICE-TYPE to add ability to extend the service.
2020-01-08services: nfs: Fix name of package variable.Ricardo Wurmus
* gnu/services/nfs.scm (rpcbind-service-type): Correct name from nfs-utils to rpcbind.
2020-01-08services: Add pulseaudio service.Oleg Pykhalov
* gnu/services/sound.scm (pulseaudio-environment): New procedure. (pulseaudio-service-type): New variable. * doc/guix.texi (Sound Services): Document it.
2020-01-06Adjust module autoloads.Ludovic Courtès
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.
2020-01-05services: host-name: Make service one-shot.Efraim Flashner
* gnu/services/base.scm (host-name-service-type): Remove 'respawn?' keyword from shepherd-service-type, add 'one-shot?'.
2019-12-30services: console-font: Update example with HDPI font suggestion.Jan Nieuwenhuizen
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.
2019-12-29services: dhcp-client: Ignore interfaces that cannot be activated.Brice Waegeneire
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>
2019-12-21services: Add Mumi service.Ludovic Courtès
* gnu/services/web.scm (%mumi-activation, %mumi-accounts): New variables. (mumi-shepherd-services): New procedure. (mumi-service-type): New variable. * doc/guix.texi (Web Services): Document it.
2019-12-08services: mcron: Add description.Robert Vollmert
* gnu/services/mcron.scm (mcron-service-type): Add description. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04services: Add GNOME Keyring service.Leo Prikler
* gnu/services/desktop.scm: (<gnome-keyring-configuration>): New record type. (pam-gnome-keyring): New procedure. (gnome-keyring-service-type): New variable. * doc/guix.texi (Desktop Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04services: SSH services: Provide 'ssh' and 'sshd' Shepherd services.Leo Famulari
* gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service, openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
2019-11-30services: Add polkit-wheel-service to %desktop-services.Leo Prikler
* gnu/services/desktop.scm: (%desktop-services): Add polkit-wheel-service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-30services: Add polkit-wheel-service.Leo Prikler
* gnu/services/desktop.scm: (polkit-wheel): New variable. (polkit-wheel-service): New service. * doc/guix.texi: Document polkit-wheel-service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-28services: Add pam-mount.Guillaume Le Vaillant
* gnu/services/pam-mount.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (PAM Mount Service): New subsection. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-28services: nginx: Add description.Ludovic Courtès
* gnu/services/web.scm (nginx-service-type)[description]: New field.
2019-11-20services: sysctl: Make service one-shot.Efraim Flashner
* gnu/services/sysctl.scm (sysctl-shepherd-service): Adjust shepherd service to use the 'one-shot?' keyword. Remove 'stop' command. Remove 'respawn' option.
2019-11-13services: dbus: Simplify 'dbus-uuidgen' invocation.Ludovic Courtès
* gnu/services/dbus.scm (dbus-activation): Use the "--ensure" option of 'dbus-uuidgen' instead of forking and redirecting ports.
2019-11-13services: dbus: Log to syslog.Ludovic Courtès
* gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to 'requirement'. Pass the "--syslog-only" command-line option.
2019-11-13services: dbus: Add description.Ludovic Courtès
* gnu/services/dbus.scm (dbus-root-service-type)[description]: New field.