summary refs log tree commit diff
path: root/gnu/services
AgeCommit message (Collapse)Author
2015-09-02gnu: Add polkit service.Andy Wingo
* gnu/services/desktop.scm (polkit-service): New function. (%desktop-services): Add polkit service.
2015-09-02gnu: Add elogind service.Andy Wingo
* gnu/services/desktop.scm (<elogind-configuration>): New record type. (elogind-configuration-file, elogind-service): New functions. (%desktop-services): Add elogind-service.
2015-08-27gnu: services: Add nginx-service.David Thompson
* gnu/services/web.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * guix.texi ("Web Services"): New section.
2015-08-20gnu: Add GeoClue desktop service.Andy Wingo
* gnu/services/desktop.scm (bool): New top-level helper. (upower-configuration-file): Use top-level `bool'. (geoclue-application): New public function. (%standard-geoclue-applications): New public variable. (geoclue-service): New public variable. (%desktop-services): Add GeoClue. Add a comment about activation. * doc/guix.texi (Desktop Services): Document the GeoClue service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-18Revert "PRELIMINARY: dbus-service: Include system-services directories."Mark H Weaver
This reverts commit e3484421cb159968fc6fb54f044f84bccfc555e8.
2015-08-18Revert "PRELIMINARY: Modify dbus-configuration to find setuid helper."Mark H Weaver
This reverts commit fe1f2c80a170feee3e448277b9361092328d355c.
2015-08-18PRELIMINARY: Modify dbus-configuration to find setuid helper.Mark H Weaver
2015-08-18PRELIMINARY: dbus-service: Include system-services directories.Mark H Weaver
2015-07-25syscalls: Rename 'network-interfaces' and 'all-network-interfaces'.Ludovic Courtès
* guix/build/syscalls.scm (network-interfaces): Rename to... (network-interface-names): ... this. (all-network-interfaces): Rename to... (all-network-interface-names): ... this. * gnu/services/networking.scm (dhcp-client-service): Adjust accordingly. * tests/syscalls.scm ("all-network-interfaces"): Rename to... ("all-network-interface-names"): ... this, and adjust accordingly. ("network-interfaces"): Rename to... ("network-interface-names"): ... this, and adjust accordingly.
2015-07-17system: Use the CRDA udev rules.Ludovic Courtès
* gnu/services/base.scm (%base-services): Add CRDA to the #:rules of 'udev-service'. * gnu/system/install.scm (installation-services): Likewise.
2015-07-15system: Make /dev/kvm 660.Ludovic Courtès
* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 0660 as a followup to the resolution of <http://bugs.gnu.org/18994>.
2015-06-15services: Remove lsh service from %DESKTOP-SERVICES.Ludovic Courtès
Suggested by Mark H Weaver and others at <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00227.html>. * gnu/services/desktop.scm (%desktop-services): Remove call to 'lsh-service'. * doc/guix.texi (Desktop Services): Adjust accordingly.
2015-05-22services: swap: Use 'restart-on-EINTR'.Ludovic Courtès
* gnu/services/base.scm (swap-service)[start, stop]: Use 'restart-on-EINTR'. * guix/build/syscalls.scm (swapoff): Fix typo in 'throw' arguments.
2015-05-21services: xorg: Add xf86-input-libinput to the server's module path.Ludovic Courtès
* gnu/services/xorg.scm (xorg-configuration-file): Add XF86-INPUT-LIBINPUT.
2015-05-21services: xorg: Assume STARTX is a regular value.Ludovic Courtès
* gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value, not a monadic value.
2015-05-21services: xorg: Allow extra config text to be added verbatim.Ludovic Courtès
* gnu/services/xorg.scm (xorg-configuration-file): Add #:extra-config and honor it. * doc/guix.texi (X Window): Adjust accordingly.
2015-05-21services: xorg: Make 'xorg-configuration-file' public.Ludovic Courtès
* gnu/services/xorg.scm (xorg-configuration-file): New procedure, with code formerly in 'xorg-start-command'. (xorg-start-command): Remove #:drivers and #:resolutions; add #:configuration-file; use it as well as 'xorg-configuration-file'.
2015-05-17services: dhcp-client: Turn up the interfaces before calling 'dhclient'.Ludovic Courtès
Somehow, as of Linux 4.0.2, the interfaces are down by default, which prevents 'dhclient' from actually using them. * gnu/services/networking.scm (dhcp-client-service): Call 'set-network-interface-up' on each item of IFACES.
2015-05-09services: dhcp-client: Better track dhclient's PID.Ludovic Courtès
* gnu/services/networking.scm (dhcp-client-service)[start]: Remove PID-FILE first. When 'call-with-input-file' throws ENOENT, try again.
2015-05-08doc: Document 'avahi-service'.Ludovic Courtès
* gnu/services/avahi.scm (avahi-service): Add URL in docstring. * doc/guix.texi (Networking Services): Document it. (Name Service Switch): Fix cross-reference.
2015-05-08doc: Document sessions and ~/.xsession for SLiM.Ludovic Courtès
* gnu/services/xorg.scm (slim-service): Document session types and ~/.xsession. * doc/guix.texi (X Window): Adjust accordingly.
2015-05-08services: Add '%desktop-services'.Ludovic Courtès
* gnu/services/desktop.scm (%desktop-services): New variable. * doc/guix.texi (Desktop Services): Document it.
2015-05-07artwork: Update to latest version.Ludovic Courtès
* gnu/artwork.scm (%artwork-repository): Update. * gnu/services/xorg.scm (%default-slim-theme-name): Change to "0.x". * gnu/system/grub.scm (%background-image): Change to GuixSD-fully-black-4-3.svg.
2015-05-07gnu: Add postgresql-service.David Thompson
* gnu/services/databases.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi ("Database Services"): New subsubsection.
2015-05-05services: Group desktop services in (gnu services desktop).Ludovic Courtès
* gnu/services/colord.scm, gnu/services/dbus.scm, gnu/services/upower.scm: Remove. * gnu/services/desktop.scm: New file, with contents taken from the above files. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * doc/guix.texi (Desktop Services): New section. (Various Services): Move colord-service and upower-service from here to "Desktop Services".
2015-05-01services: Add console-keymap service.Alex Kost
* gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-04-20file-systems: Use a second 'mount' call for read-only bind mounts.Ludovic Courtès
* gnu/build/file-systems.scm (MS_REMOUNT): New constant. (mount-file-system): Add 'flags' local variable. When FLAGS has MS_BIND & MS_RDONLY, call 'mount' with MS_REMOUNT. * gnu/services/base.scm (file-system-service) <start>: Likewise.
2015-04-17Merge branch 'master' into core-updatesMark H Weaver
Conflicts: gnu-system.am gnu/packages/gstreamer.scm
2015-04-17services: Explicitly refer to Shadow when requiring the 'nologin' shell.Ludovic Courtès
* gnu/services/avahi.scm (avahi-service): Change 'shell' to a gexp referring to "nologin" in the SHADOW package. * gnu/services/dbus.scm (dbus-service): Likewise. * gnu/services/networking.scm (ntp-service, tor-service): Likewise.
2015-04-13Merge branch 'master' into core-updatesMark H Weaver
2015-04-13services: Add upower.Andy Wingo
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/upower.scm. * gnu/services/upower.scm: New file, defining a upower service. * doc/guix.texi (Various Services): Mention it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-12doc: Add example showing how to customize 'nscd-service'.Ludovic Courtès
* doc/guix.texi (Name Service Switch): Add link to nss-mdns. Add example show how to pass #:name-services to 'nscd-service'. (Base Services): Add link from 'nscd-service' to the above. * gnu/services/base.scm (nscd-service): Update docstring accordingly.
2015-04-08gnu: Add colord service.Andy Wingo
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/colord.scm. * gnu/services/colord.scm: New file. * doc/guix.texi (Various Services): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-03services: lsh: Change #:initialize? to default to #t.Ludovic Courtès
* gnu/services/ssh.scm (lsh-service): Change #:initialize? to default to #t. * doc/guix.texi (Using the Configuration System): Remove #:initialize? #t from example. (Networking Services): Adjust accordingly.
2015-04-01services: syslog-service: Add 'config-file' argument.Alex Kost
* gnu/services/base.scm (syslog-service): Add 'config-file' keyword argument. * doc/guix.texi (Base Services): Document it.
2015-03-26services: guix-service: Add service documentation.Alex Kost
* gnu/services/base.scm (guix-service): Add 'documentation' field to the service.
2015-03-26services: Add 'lirc-service'.Alex Kost
* gnu/services/lirc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New node. Document 'lirc-service'.
2015-03-19services: guix-service: Add 'lsof' and 'lsh' to guix-daemon's $PATH.Ludovic Courtès
* gnu/services/base.scm (guix-service): Add #:lsof and #:lsh parameters. [start]: Pass #:environment-variables to 'make-forkexec-constructor'.
2015-03-17services: guix-service: Remove extraneous monadism.Ludovic Courtès
* gnu/services/base.scm (guix-build-accounts): Remove unneeded 'with-monad'. (guix-service): Adjust accordingly.
2015-03-13services: slim: Pass SESSION to ~/.xsession as "$1".宋文武
* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
2015-03-13services: slim: Allow non-absolute path to be used as session command.宋文武
* gnu/services/xorg.scm (xinitrc)[builder]: Don't check the existence of COMMAND. Only run ~/.xsession when it exists.
2015-03-13services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.宋文武
* gnu/services/xorg.scm (<session-type>, %windowmaker-session-type) (%ratposion-session-type, %sawfish-session-type, %default-xsessions) (xsessions-directory): Remove. (slim-service): Remove #:sessions parameter. [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir. * doc/guix.texi <X Window>: Adjust accordingly.
2015-03-12services: bitlbee: Make /var/lib/bitlbee when activating.Ludovic Courtès
* gnu/services/networking.scm (bitlbee-service): Add 'activate' field.
2015-03-09services: Statically report duplicate dmd service identifiers.Ludovic Courtès
Reported by 白い熊 @相撲道 <guix-devel_gnu.org@sumou.com> at <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00264.html>. * gnu/services/dmd.scm (assert-no-duplicates): New procedure. (dmd-configuration-file): Use it. * po/guix/POTFILES.in: Add gnu/services/dmd.scm. * tests/guix-system.sh (errorfile): Add test.
2015-03-02services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès
This reverts commit 9515b745547cff08ad5b958bc54323dab19f29b9. * gnu/services/xorg.scm (xinitrc)[builder](close-all-fdes): Start from file descriptor 3.
2015-03-01Revert "services: xorg: Fix file descriptor leak from SLiM/xinitrc."Mark H Weaver
This reverts commit ec4a4c46efaf2e7373f331654640f1321c0f2e62, because it broke XFCE.
2015-03-01services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès
Previously processes started from the window manager would have a couple of leaked file descriptors: writable /var/log/slim.log and readable /gnu/store/…-xinitrc. * gnu/services/xorg.scm (xinitrc)[builder]: Add 'close-all-fdes'. Use it in 'exec-from-login-shell'.
2015-02-26services: slim: Add "F1 to change" in session message.Ludovic Courtès
* gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
2015-02-26services: slim: Preserve the order of session types.Ludovic Courtès
That makes WindowMaker the default session, by default. * gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number in the file name to preserve the order of SESSIONS. (slim-service): Augment docstring. * doc/guix.texi (X Window): Adjust accordingly.
2015-02-25services: nscd: Make sure /var/db/nscd exists.Ludovic Courtès
* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.