summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAgeFilesLines
* services: Remove lsh service from %DESKTOP-SERVICES.Ludovic Courtès2015-06-151-2/+0
| | | | | | | | 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.
* services: swap: Use 'restart-on-EINTR'.Ludovic Courtès2015-05-221-2/+2
| | | | | * gnu/services/base.scm (swap-service)[start, stop]: Use 'restart-on-EINTR'. * guix/build/syscalls.scm (swapoff): Fix typo in 'throw' arguments.
* services: xorg: Add xf86-input-libinput to the server's module path.Ludovic Courtès2015-05-211-0/+6
| | | | * gnu/services/xorg.scm (xorg-configuration-file): Add XF86-INPUT-LIBINPUT.
* services: xorg: Assume STARTX is a regular value.Ludovic Courtès2015-05-211-1/+3
| | | | | * gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value, not a monadic value.
* services: xorg: Allow extra config text to be added verbatim.Ludovic Courtès2015-05-211-5/+13
| | | | | | * gnu/services/xorg.scm (xorg-configuration-file): Add #:extra-config and honor it. * doc/guix.texi (X Window): Adjust accordingly.
* services: xorg: Make 'xorg-configuration-file' public.Ludovic Courtès2015-05-211-14/+22
| | | | | | | * 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'.
* services: dhcp-client: Turn up the interfaces before calling 'dhclient'.Ludovic Courtès2015-05-171-9/+13
| | | | | | | | 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.
* services: dhcp-client: Better track dhclient's PID.Ludovic Courtès2015-05-091-1/+15
| | | | | | * gnu/services/networking.scm (dhcp-client-service)[start]: Remove PID-FILE first. When 'call-with-input-file' throws ENOENT, try again.
* doc: Document 'avahi-service'.Ludovic Courtès2015-05-081-1/+1
| | | | | | * gnu/services/avahi.scm (avahi-service): Add URL in docstring. * doc/guix.texi (Networking Services): Document it. (Name Service Switch): Fix cross-reference.
* doc: Document sessions and ~/.xsession for SLiM.Ludovic Courtès2015-05-081-0/+13
| | | | | | * gnu/services/xorg.scm (slim-service): Document session types and ~/.xsession. * doc/guix.texi (X Window): Adjust accordingly.
* services: Add '%desktop-services'.Ludovic Courtès2015-05-081-1/+31
| | | | | * gnu/services/desktop.scm (%desktop-services): New variable. * doc/guix.texi (Desktop Services): Document it.
* artwork: Update to latest version.Ludovic Courtès2015-05-071-1/+1
| | | | | | | * 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.
* gnu: Add postgresql-service.David Thompson2015-05-071-0/+121
| | | | | | * gnu/services/databases.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi ("Database Services"): New subsubsection.
* services: Group desktop services in (gnu services desktop).Ludovic Courtès2015-05-054-321/+270
| | | | | | | | | | | * 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".
* services: Add console-keymap service.Alex Kost2015-05-011-0/+15
| | | | | | | * gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com>
* file-systems: Use a second 'mount' call for read-only bind mounts.Ludovic Courtès2015-04-201-4/+13
| | | | | | | * 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.
* Merge branch 'master' into core-updatesMark H Weaver2015-04-173-4/+6
|\ | | | | | | | | | | Conflicts: gnu-system.am gnu/packages/gstreamer.scm
| * services: Explicitly refer to Shadow when requiring the 'nologin' shell.Ludovic Courtès2015-04-173-4/+6
| | | | | | | | | | | | | | * 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.
* | Merge branch 'master' into core-updatesMark H Weaver2015-04-131-1/+1
|\|
| * doc: Add example showing how to customize 'nscd-service'.Ludovic Courtès2015-04-121-1/+1
| | | | | | | | | | | | | | * 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.
* | services: Add upower.Andy Wingo2015-04-131-0/+122
| | | | | | | | | | | | | | | | * 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>
* | gnu: Add colord service.Andy Wingo2015-04-081-0/+72
|/ | | | | | | | * 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>
* services: lsh: Change #:initialize? to default to #t.Ludovic Courtès2015-04-031-1/+1
| | | | | | | | * 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.
* services: syslog-service: Add 'config-file' argument.Alex Kost2015-04-011-3/+5
| | | | | | * gnu/services/base.scm (syslog-service): Add 'config-file' keyword argument. * doc/guix.texi (Base Services): Document it.
* services: guix-service: Add service documentation.Alex Kost2015-03-261-0/+1
| | | | | * gnu/services/base.scm (guix-service): Add 'documentation' field to the service.
* services: Add 'lirc-service'.Alex Kost2015-03-261-0/+68
| | | | | | * gnu/services/lirc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New node. Document 'lirc-service'.
* services: guix-service: Add 'lsof' and 'lsh' to guix-daemon's $PATH.Ludovic Courtès2015-03-191-2/+11
| | | | | * gnu/services/base.scm (guix-service): Add #:lsof and #:lsh parameters. [start]: Pass #:environment-variables to 'make-forkexec-constructor'.
* services: guix-service: Remove extraneous monadism.Ludovic Courtès2015-03-171-22/+21
| | | | | | * gnu/services/base.scm (guix-build-accounts): Remove unneeded 'with-monad'. (guix-service): Adjust accordingly.
* services: slim: Pass SESSION to ~/.xsession as "$1".宋文武2015-03-131-1/+1
| | | | * gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
* services: slim: Allow non-absolute path to be used as session command.宋文武2015-03-131-18/+18
| | | | | * gnu/services/xorg.scm (xinitrc)[builder]: Don't check the existence of COMMAND. Only run ~/.xsession when it exists.
* services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.宋文武2015-03-131-74/+4
| | | | | | | | | * 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.
* services: bitlbee: Make /var/lib/bitlbee when activating.Ludovic Courtès2015-03-121-0/+8
| | | | * gnu/services/networking.scm (bitlbee-service): Add 'activate' field.
* services: Statically report duplicate dmd service identifiers.Ludovic Courtès2015-03-091-0/+26
| | | | | | | | | | 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.
* services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès2015-03-021-0/+12
| | | | | | | This reverts commit 9515b745547cff08ad5b958bc54323dab19f29b9. * gnu/services/xorg.scm (xinitrc)[builder](close-all-fdes): Start from file descriptor 3.
* Revert "services: xorg: Fix file descriptor leak from SLiM/xinitrc."Mark H Weaver2015-03-011-12/+0
| | | | | This reverts commit ec4a4c46efaf2e7373f331654640f1321c0f2e62, because it broke XFCE.
* services: xorg: Fix file descriptor leak from SLiM/xinitrc.Ludovic Courtès2015-03-011-0/+12
| | | | | | | | | 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'.
* services: slim: Add "F1 to change" in session message.Ludovic Courtès2015-02-261-0/+1
| | | | * gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
* services: slim: Preserve the order of session types.Ludovic Courtès2015-02-261-11/+22
| | | | | | | | | 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.
* services: nscd: Make sure /var/db/nscd exists.Ludovic Courtès2015-02-251-1/+2
| | | | * gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
* services: lsh: Add graceful handling of daemonic option.nebuli2015-02-081-19/+45
| | | | | | | | | * gnu/services/ssh.scm (lsh-service): New #:keys (daemonic?, pid-file?, pid-file). Build new lshd-command and expand service-requirement field. * doc/guix.texi (Networking Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: xorg: Add Nouveau driver.Ludovic Courtès2015-02-061-0/+1
| | | | | * gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add XF86-VIDEO-NOUVEAU.
* services: Add wicd service.Mark H Weaver2015-02-041-1/+26
| | | | | * gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
* services: nscd-service: Add #:name-services parameter.Ludovic Courtès2015-02-041-3/+14
| | | | | | | * gnu/services/base.scm (nscd-service): Add #:name-services parameter. In 'start' field, set LD_LIBRARY_PATH based on #:name-services. * doc/guix.texi (Base Services): Document it. (Name Service Switch): Link to 'nscd-service'.
* services: xorg: Add sawfish session.宋文武2015-02-031-0/+7
| | | | | * gnu/services/xorg.scm (%sawfish-session-type): New variable. * doc/guix.texi (X Window): Mention it.
* services: mingetty: Wait for udev.Ludovic Courtès2015-01-271-2/+3
| | | | | * gnu/services/base.scm (mingetty-service): Add 'udev' to 'requirement'.
* services: xorg: Define the <session-type> record type.Ludovic Courtès2015-01-261-26/+47
| | | | | | | | | | * gnu/services/xorg.scm (<session-type>): New record type. (%windowmaker-session-type, %ratpoison-session-type): New variables. (%default-xsessions): Use them. (xsessions-directory): Expect SESSIONS to be a list of <session-type> and rewrite accordingly. (slim-service): Adjust docstring. * doc/guix.texi (X Window): Update accordingly.
* services: dbus: Set the search path for .service files.Ludovic Courtès2015-01-261-5/+8
| | | | | * gnu/services/dbus.scm (dbus-configuration-directory)[services->sxml]: Produce a <servicedir> tag.
* services: guix: #:authorize-hydra-key? now defaults to #t.Ludovic Courtès2015-01-231-1/+1
| | | | | * gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY? default value to #t.
* monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-147-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
* services: user-processes: Really honor the grace delay.Ludovic Courtès2015-01-131-4/+16
| | | | | * gnu/services/base.scm (user-processes-service): Change #:grace-delay default value to 4. Define 'sleep*' and use it.