aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* services: Use 'file-append' for user account shells.Ludovic Courtès2019-03-04
| | | | | | | | | * gnu/services/cuirass.scm (cuirass-account): Use 'file-append' instead of #~(string-append #$shadow "/sbin/nologin"). * gnu/services/monitoring.scm (zabbix-server-account): Likewise. (zabbix-agent-account): Likewise. * gnu/services/rsync.scm (rsync-account): Likewise. * gnu/services/ssh.scm (%openssh-accounts): Likewise.
* services: desktop: Fix define for the upower-service procedure.Christopher Baines2019-02-24
| | | | | * gnu/services/desktop.scm (upower-service): Fill in the replacement for upower-service.
* services: xorg: Enable override of xserver-arguments.Jan Nieuwenhuizen2019-02-17
| | | | | * gnu/services/xorg.scm (xorg-start-command): Add parameter #:xserver-arguments. * doc/guix.texi (X Window): Document it.
* services: gdm: Allow for custom X session scripts.Timothy Sample2019-02-17
| | | | | | | | | | | * gnu/packages/gnome.scm (gdm)[arguments]: Update pre-configure phase so that GDM runs an X session script specified by the variable GDM_X_SESSION; remove the '--enable-gdm-xsession' configuration option. * gnu/services/xorg.scm (<gdm-configuration>): Add 'x-session' field. (gdm-shepherd-service): Set the GDM_X_SESSION variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: gdm: Make dependencies explicit.Timothy Sample2019-02-17
| | | | | | | | | | | | | | | | This commit removes the remaining implicit dependencies that the GDM service had on the GNOME Desktop service. * gnu/services/xorg.scm (gdm-configuration): Add a gnome-shell-assets field for specifying any icons or fonts that the GNOME Shell theme needs. (gdm-shepherd-service): Remove environment variables pointing to '/run/current-system' and set XDG_DATA_DIRS so that it points to 'gnome-shell' and its assets. (gdm-service-type): Extend 'profile-service-type' to ensure that necessary fonts are installed in the system profile. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gdm: Run dbus-daemon via a wrapper script.Timothy Sample2019-02-17
| | | | | | | | | | | * gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure phase so that GDM propagates the GDM_DBUS_DAEMON variable into the session environment and uses its value to invoke dbus-daemon. * gnu/services/xorg.scm (dbus-daemon-wrapper): New variable. (<gdm-configuration>): Add 'dbus-daemon' field. (gdm-shepherd-service): Set GDM_DBUS_DAEMON before invoking gdm. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: gdm: Remove etc service.Timothy Sample2019-02-17
| | | | | | | | | | | * gnu/packages/gnome.scm (gdm)[arguments]: Update pre-configure phase to make GDM get the configuration file path from an environment variable. * gnu/services/xorg.scm (gdm-etc-service): Remove function. (gdm-configuration-file): New function. (gdm-shepherd-service): Set GDM_CUSTOM_CONF before invoking GDM. (gdm-service-type)[extensions]: Remove etc-service-type extension. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: desktop: Deprecate the upower-service procedure.Christopher Baines2019-02-16
| | | | | | | This has now been replaced by the upower-service-type and <upower-configuration> record. * gnu/services/desktop.scm (upower-service): Deprecate this procedure.
* services: Improve the upower-service-type.Christopher Baines2019-02-16
| | | | | | | | | | | Add a description and default value. Switch the documentation to mention the service-type and the configuration record, rather than the upower-service procedure. * gnu/services/desktop.scm (upower-service-type)[description, default-value]: Define these fields. (%desktop-services): Change (upower-service) to (service upower-service-type). * doc/guix.texi (Desktop Services): Update the upower service documentation.
* services: Improve the upower-configuration record.Christopher Baines2019-02-16
| | | | | | | | | | | | | | | | | Copy the defaults from the upower-service procedure to the <upower-configuration> record type. This will allow making it the default value for the upower-service-type, and deprecating the procedure. Export the field accessors so that the <upower-configuration> record type becomes more usable. * gnu/services/desktop.scm (<upower-configuration>): Export it. (upower-configuration-upower, upower-configuration-watts-up-pro?, upower-configuration-poll-batteries?, upower-configuration-ignore-lid?, upower-configuration-use-percentage-for-policy?, upower-configuration-percentage-low, upower-configuration-percentage-critical, upower-configuration-percentage-action, upower-configuration-time-low, upower-configuration-time-critical, upower-configuration-time-action, upower-configuration-critical-power-action): Add default and export.
* services: Add cups-pk-helper.Christopher Baines2019-02-13
| | | | | | | | This service integrates cups and PolicyKit. The gnome-control-center printing section uses this functionality. * gnu/sevices/desktop.scm (cups-pk-helper-service-type): New variable. (%desktop-services): Add the cups-pk-helper service.
* services: docker: Make shepherd service also require "dbus-system",Danny Milosavljevic2019-02-11
| | | | | | | | | "elogind" and "udev". Fixes <https://bugs.gnu.org/34333>. * gnu/services/docker.scm (docker-shepherd-service): Require "dbus-system", "elogind" and "udev".
* services: docker: Make shepherd service require "networking".Danny Milosavljevic2019-02-11
| | | | | | Fixes <https://bugs.gnu.org/34333>. * gnu/services/docker.scm (docker-shepherd-service): Require "networking".
* services: gdm: Disable debugging output.Ludovic Courtès2019-02-10
| | | | | * gnu/services/xorg.scm (gdm-etc-service)[gdm-configuration-file]: Comment out debugging setting.
* Merge branch 'master' into stagingMarius Bakke2019-01-31
|\
| * gnu: Move most packages from guile.scm to new module.Ricardo Wurmus2019-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash, guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight, guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq, jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email, guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd, guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp, guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader, guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib, guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex, guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt, guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark, guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables from here... * gnu/packages/guile-xyz.scm: ...to this new file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/installer.scm, gnu/packages/bioinformatics.scm, gnu/packages/ci.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/mail.scm, gnu/packages/package-management.scm, gnu/packages/skribilo.scm, gnu/packages/web.scm, gnu/services/mcron.scm: Update module references.
| * gnu: %default-xorg-modules: Include xf86-video-amdgpu.Pierre Neidhardt2019-01-28
| | | | | | | | | | * gnu/services/xorg.scm (%default-xorg-modules): Include xf86-video-amdgpu. Rephrase comment to clarify the priority order.
* | Merge branch 'master' into stagingLudovic Courtès2019-01-20
|\|
| * gnu: %desktop-services: Use polkit-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | * gnu/services/desktop.scm (%desktop-services): Replace polkit-service with polkit-service-type.
| * gnu: %base-services: Use *getty-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | * gnu/services/base.scm (%base-services): Replace agetty-service with agetty-service-type, mingetty-service with mingetty-service-type.
| * gnu: %base-services: Use login-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | * gnu/services/base.scm (login-service-type)[default-value]: New field. (%base-services): Replace login-service with login-service-type.
| * services: %base-services: Use udev-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | | | * gnu/services/base.scm (udev-configuration): Fix typo. (udev-service-type)[default-value]: New field. (%base-services): Replace udev-service with udev-service-type.
| * services: %base-services: Use nscd-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | * gnu/services/base.scm (nscd-service-type)[default-value]: New field. (%base-services): Replace nscd-service with nscd-service-type.
| * services: Use guix-service-type.Efraim Flashner2019-01-20
| | | | | | | | | | | | * gnu/services/base.scm (%base-services): Replace guix-service with guix-service-type. * gnu/system/examples/docker-image.tmpl (services): Same.
| * services: openssh: Add escape hatch.Ricardo Wurmus2019-01-17
| | | | | | | | | | * gnu/services/ssh.scm (<openssh-configuration>)[extra-content]: New field. * doc/guix.texi (Networking Services): Document it.
| * services: herd: Allow to pass arguments to start-service.Mathieu Othacehe2019-01-17
| | | | | | | | * gnu/services/herd.scm (start-service)[arguments]: New optional argument.
| * services: kmscon: Remove virtual-terminal requirement.Mathieu Othacehe2019-01-17
| | | | | | | | | | | | | | kmscon does not require that virtual terminals run in UTF-8 mode. * gnu/services/base.scm (kmscon-service-type): Remove virtual-terminal from requirement list.
| * services: avahi: Deprecate the 'avahi-service' procedure.Ludovic Courtès2019-01-16
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/avahi.scm (<avahi-configuration>): Export getters. Add default values. (avahi-service-type)[default-value]: New field. (avahi-service): Mark as deprecated. * gnu/services/desktop.scm (%desktop-services): Use the 'service' form instead of calling 'avahi-service'. * gnu/tests/base.scm (%avahi-os): Likewise. * doc/guix.texi (Base Services): Adjust example accordingly. (Networking Services): Update accordingly.
* | Merge branch 'master' into stagingMarius Bakke2019-01-13
|\|
| * services: Deprecate a few more service procedures.Ludovic Courtès2019-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These procedures were already either undocumented (and de facto deprecated) or documented as deprecated or redundant. * gnu/services/base.scm (guix-service, guix-publish-service): Mark as deprecated. * gnu/services/mcron.scm (mcron-service): Likewise. * gnu/services/networking.scm (tor-service): Likewise. * doc/guix.texi (Scheduled Job Execution): Remove 'mcron-service' and adjust example. (Networking Services): Remove 'tor-service'. * gnu/tests/base.scm (%mcron-os): Use 'mcron-service-type' instead of 'mcron-service'. * gnu/tests/networking.scm (%tor-os): Use 'tor-service-type' instead of 'tor-service'. * tests/guix-system.sh: Likewise.
| * services: docker: Update comment.Danny Milosavljevic2019-01-11
| | | | | | | | * gnu/services/docker.scm (docker-shepherd-service): Update comment.
| * services: docker: Use more minimal service requrements.Danny Milosavljevic2019-01-10
| | | | | | | | | | | | | | * gnu/services/docker.scm (docker-service-type)[requirement]: Add file-system-/sys/fs/cgroup/blkio, file-system-/sys/fs/cgroup/cpu, file-system-/sys/fs/cgroup/cpuset, file-system-/sys/fs/cgroup/devices, file-system-/sys/fs/cgroup/memory. Remove elogind.
| * services: docker: Clarify service-extension shepherd-root-service-type.Danny Milosavljevic2019-01-10
| | | | | | | | | | * gnu/services/docker.scm (docker-service-type)[extensions]: Clarify service-extension shepherd-root-service-type.
| * services: Use 'define-deprecated' for service procedures.Ludovic Courtès2019-01-10
| | | | | | | | | | | | | | | | | | | | * gnu/services/base.scm (urandom-seed-service, gpm-service): Define using 'define-deprecated'. * gnu/services/messaging.scm (bitlbee-service): Likewise. * gnu/services/networking.scm (dhcp-client-service): Likewise. (ntp-service): Likewise. * gnu/services/xorg.scm (slim-service): Likewise. (gdm-service): Likewise.
| * services: gdm: Add default value.Ludovic Courtès2019-01-10
| | | | | | | | | | | | | | * gnu/services/xorg.scm (<gdm-configuration>)[x-server]: Add default value. (gdm-service-type)[default-value, description]: New fields. (gdm-service): Mark as deprecated.
| * services: docker: Depend on elogind.Danny Milosavljevic2019-01-10
| | | | | | | | * gnu/services/docker.scm (docker-shepherd-service)[requirement]: Add elogind.
| * services: docker: Specify log file for containerd.Danny Milosavljevic2019-01-10
| | | | | | | | | | * gnu/services/docker.scm (containerd-shepherd-service): Specify log file for containerd.
| * services: Add docker.Danny Milosavljevic2019-01-10
| | | | | | | | | | | | * gnu/services/docker.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Miscellaneous Services): Document the service.
* | Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner2019-01-09
|\|
| * services: gdm: Enable auto-start.Timothy Sample2018-12-30
| | | | | | | | | | | | | | | | | | GDM is now reliable enough to run automatically. * gnu/services/xorg.scm (gdm-shepherd-service): Do not set 'auto-start?' to '#f'. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
| * services: gdm: Remove 'allow-root?' option.Timothy Sample2018-12-30
| | | | | | | | | | | | | | | | | | | | | | This option results in allowing all login attempts without asking for credentials. The name is confusing, but rather than rename it, we will remove it, since it seems like a feature that no one would want. * gnu/services/xorg.scm (<gdm-configuration>): Remove 'allow-root?'. (gdm-pam-service): Do not use 'gdm-configuration-allow-root?'. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* | Merge branch 'master' into stagingMarius Bakke2018-12-26
|\|
| * services: Add quassel.Efraim Flashner2018-12-24
| | | | | | | | | | | | | | | | | | * gnu/services/messaging.scm (<quassel-configuration>): New record type. (%quassel-account, %quassel-activation): New procedures. (quassel-service-type): New variable. * gnu/tests/messaging.scm (%test-quassel): New variable. (run-quassel-test): New procedure. * doc/guix.texi (Messaging): Document quassel service.
* | Merge branch 'master' into stagingMarius Bakke2018-12-23
|\|
| * services: Fix typo in (gnu services admin).Tobias Geerinckx-Rice2018-12-23
| | | | | | | | * gnu/services/admin.scm: Fix typo in licence header.
* | Merge branch 'master' into stagingMarius Bakke2018-12-22
|\|
| * services: zabbix-front-end: Tweak error and hint messages.Ludovic Courtès2018-12-20
| | | | | | | | | | * gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error and hint mssages.
| * services: zabbix-front-end: Improve hint and error messages.Oleg Pykhalov2018-12-19
| | | | | | | | | | * gnu/services/monitoring.scm (zabbix-front-end-config): Improve hint and error messages.
| * file-systems: Spawn a REPL only when interaction is possible.Ludovic Courtès2018-12-18
| | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/23697>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. * gnu/build/file-systems.scm (check-file-system): Call 'start-repl' only if current-input-port passes 'isatty?'. * gnu/services/shepherd.scm (shepherd-configuration-file): After 'for-each' expression, call 'redirect-port'. * gnu/tests/base.scm (run-basic-test)["stdin is /dev/null"]: New test.
| * services: udev: Add 'rules' action.Ludovic Courtès2018-12-17
| | | | | | | | | | | | * gnu/services/base.scm (udev-shepherd-service): Add 'actions' field. * doc/guix.texi (Base Services): Move "@end deffn" after 'udev-service' definition. Mention 'herd rules udev'.