summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Expand)AuthorAgeFilesLines
* services: Add console-keymap service.•••* gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com> Alex Kost2015-05-011-0/+15
* file-systems: Use a second 'mount' call for read-only bind mounts.•••* 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. Ludovic Courtès2015-04-201-4/+13
* Merge branch 'master' into core-updates•••Conflicts: gnu-system.am gnu/packages/gstreamer.scm Mark H Weaver2015-04-173-4/+6
|\
| * services: Explicitly refer to Shadow when requiring the 'nologin' shell.•••* 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. Ludovic Courtès2015-04-173-4/+6
* | Merge branch 'master' into core-updatesMark H Weaver2015-04-131-1/+1
|\|
| * doc: Add example showing how to customize 'nscd-service'.•••* 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. Ludovic Courtès2015-04-121-1/+1
* | services: Add upower.•••* 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> Andy Wingo2015-04-131-0/+122
* | gnu: Add colord service.•••* 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> Andy Wingo2015-04-081-0/+72
|/
* services: lsh: Change #:initialize? to default to #t.•••* 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. Ludovic Courtès2015-04-031-1/+1
* services: syslog-service: Add 'config-file' argument.•••* gnu/services/base.scm (syslog-service): Add 'config-file' keyword argument. * doc/guix.texi (Base Services): Document it. Alex Kost2015-04-011-3/+5
* services: guix-service: Add service documentation.•••* gnu/services/base.scm (guix-service): Add 'documentation' field to the service. Alex Kost2015-03-261-0/+1
* services: Add 'lirc-service'.•••* gnu/services/lirc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New node. Document 'lirc-service'. Alex Kost2015-03-261-0/+68
* services: guix-service: Add 'lsof' and 'lsh' to guix-daemon's $PATH.•••* gnu/services/base.scm (guix-service): Add #:lsof and #:lsh parameters. [start]: Pass #:environment-variables to 'make-forkexec-constructor'. Ludovic Courtès2015-03-191-2/+11
* services: guix-service: Remove extraneous monadism.•••* gnu/services/base.scm (guix-build-accounts): Remove unneeded 'with-monad'. (guix-service): Adjust accordingly. Ludovic Courtès2015-03-171-22/+21
* services: slim: Pass SESSION to ~/.xsession as "$1".•••* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession. 宋文武2015-03-131-1/+1
* services: 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-131-18/+18
* services: 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-131-74/+4
* services: bitlbee: Make /var/lib/bitlbee when activating.•••* gnu/services/networking.scm (bitlbee-service): Add 'activate' field. Ludovic Courtès2015-03-121-0/+8
* services: Statically report duplicate dmd service identifiers.•••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. Ludovic Courtès2015-03-091-0/+26
* services: xorg: Fix file descriptor leak from SLiM/xinitrc.•••This reverts commit 9515b745547cff08ad5b958bc54323dab19f29b9. * gnu/services/xorg.scm (xinitrc)[builder](close-all-fdes): Start from file descriptor 3. Ludovic Courtès2015-03-021-0/+12
* Revert "services: xorg: Fix file descriptor leak from SLiM/xinitrc."•••This reverts commit ec4a4c46efaf2e7373f331654640f1321c0f2e62, because it broke XFCE. Mark H Weaver2015-03-011-12/+0
* services: xorg: Fix file descriptor leak from SLiM/xinitrc.•••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'. Ludovic Courtès2015-03-011-0/+12
* services: slim: Add "F1 to change" in session message.•••* gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'. Ludovic Courtès2015-02-261-0/+1
* services: slim: Preserve the order of session types.•••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. Ludovic Courtès2015-02-261-11/+22
* services: nscd: Make sure /var/db/nscd exists.•••* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd. Ludovic Courtès2015-02-251-1/+2
* services: lsh: Add graceful handling of daemonic option.•••* 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> nebuli2015-02-081-19/+45
* services: xorg: Add Nouveau driver.•••* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add XF86-VIDEO-NOUVEAU. Ludovic Courtès2015-02-061-0/+1
* services: Add wicd service.•••* gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it. Mark H Weaver2015-02-041-1/+26
* services: nscd-service: Add #:name-services parameter.•••* 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'. Ludovic Courtès2015-02-041-3/+14
* services: xorg: Add sawfish session.•••* gnu/services/xorg.scm (%sawfish-session-type): New variable. * doc/guix.texi (X Window): Mention it. 宋文武2015-02-031-0/+7
* services: mingetty: Wait for udev.•••* gnu/services/base.scm (mingetty-service): Add 'udev' to 'requirement'. Ludovic Courtès2015-01-271-2/+3
* services: xorg: Define the <session-type> record type.•••* 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. Ludovic Courtès2015-01-261-26/+47
* services: dbus: Set the search path for .service files.•••* gnu/services/dbus.scm (dbus-configuration-directory)[services->sxml]: Produce a <servicedir> tag. Ludovic Courtès2015-01-261-5/+8
* services: guix: #:authorize-hydra-key? now defaults to #t.•••* gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY? default value to #t. Ludovic Courtès2015-01-231-1/+1
* monads: Move '%store-monad' and related procedures where they belong.•••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. Ludovic Courtès2015-01-147-9/+15
* services: user-processes: Really honor the grace delay.•••* gnu/services/base.scm (user-processes-service): Change #:grace-delay default value to 4. Define 'sleep*' and use it. Ludovic Courtès2015-01-131-4/+16
* services: user-processes: Write debugging messages to the output port.•••* gnu/services/base.scm (user-processes-service): Write "sending all processes..." message to the current output port, not to /dev/console. Ludovic Courtès2015-01-121-8/+2
* gnu: xorg-server: Update to 1.16.2.901, with many security fixes.•••Includes fixes for CVE-2014-8091, CVE-2014-8092, CVE-2014-8093, CVE-2014-8094, CVE-2014-8095, CVE-2014-8096, CVE-2014-8097, CVE-2014-8098, CVE-2014-8099, CVE-2014-8100, CVE-2014-8101, CVE-2014-8102, and CVE-2014-8103. See <http://www.x.org/wiki/Development/Security/Advisory-2014-12-09/> * gnu/packages/xorg.scm (xorg-server): Update to 1.16.2.901. Move mesa, resourceproto, scrnsaverproto, and xf86driproto from inputs to propagated-inputs. Add dri3proto and presentproto to propagated-inputs. Add eudev and libxshmfence to inputs. Add a 'pre-configure' phase instead of modifying the 'configure' phase. Adapt substitution that avoids trying to 'mkdir /var' to build system changes. * gnu/services/xorg.scm (xserver.conf): Add xf86-input-evdev ModulePath line. Mark H Weaver2014-12-191-0/+1
* gnu: xf86-video-modesetting: Now uses the same libdrm as mesa.•••* gnu/packages/xorg.scm (xf86-video-modesetting): Remove a comment stating that the libdrm used in this driver is incompatible with the one in mesa, because it is no longer true. * gnu/services/xorg.scm (xserver.conf): Uncomment 'xf86-video-modesetting' ModulePath and remove associated comment. Mark H Weaver2014-12-191-2/+1
* services: xorg: Make SLiM sessions configurable.•••* gnu/services/xorg.scm (%default-xsessions): New variable. (xsessions-directory): New procedure. (slim-service): Add #:sessions and #:auto-login-session parameters. [slim.cfg]: Honor #:sessions. (xinitrc): Adjust accordingly. 宋文武2014-12-201-21/+50
* services: static-networking-service: Switch to (guix build syscalls).•••* gnu/services/networking.scm (static-networking-service): Remove #:inetutils parameter. Rewrite using 'configure-network-interface' and 'set-network-interface-flags'. Ludovic Courtès2014-12-191-35/+37
* services: Make 'nscd-service' configurable; cache hosts/services by default.•••Before that, as it was given an empty configuration file, nscd would actually have all its caches disabled. * gnu/services/base.scm (<nscd-configuration>, <nscd-cache>): New record types. (%nscd-default-caches, %nscd-default-configuration): New variables. (nscd.conf-file): New procedure. (nscd-service): Add 'config' parameter. Use 'nscd.conf-file', and pass its result as the '-f' parameter of nscd. * doc/guix.texi (Base Services): Update 'nscd-service' documentation accordingly. Document 'nscd-configuration', 'nscd-cache', '%nscd-default-configuration', and '%nscd-default-caches'. Ludovic Courtès2014-12-141-4/+117
* services: xorg: Run the window manager from a login shell.•••This is a followup to 1d18d87, which fixes <http://bugs.gnu.org/19119>. * gnu/services/xorg.scm (xinitrc)[builder]: Add 'exec-from-login-shell' procedure. Use it instead of 'execl' when launching XSESSION, WMAKER, or RATPOISON. Ludovic Courtès2014-12-131-13/+16
* services: xorg: Add 'xf86-video-sis'.•••* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add ModulePath for 'xf86-video-sis'. Alex Kost2014-11-301-0/+1
* doc: Add xrefs to the lsh manual.•••Suggested by Adam Pribyl <pribyl@lowlevel.cz>. * gnu/services/ssh.scm (lsh-service): Update docstring with xrefs to the lsh manual. Fix typos. * doc/guix.texi (Networking Services): Synchronize. Ludovic Courtès2014-11-241-2/+7
* services: xorg: Include ~/.guix-profile/bin to the session's $PATH.•••Fixes <http://bugs.gnu.org/19119>. Reported by David Thompson <dthompson2@worcester.edu>. * gnu/services/xorg.scm (xinitrc): Augment $PATH to include ~/.guix-profile/bin. Ludovic Courtès2014-11-201-4/+12
* services: user-unmount: Change directory to "/" before unmounting.•••* gnu/services/base.scm (user-unmount-service): Add 'chdir' call. Ludovic Courtès2014-11-141-0/+3
* services: xorg: Set argv[0] for the window manager.•••* gnu/services/xorg.scm (xinitrc): Set argv[0] when invoking ratpoison or wmaker. Ludovic Courtès2014-11-121-5/+8
* gnu: Introduce (gnu artwork) module.•••* gnu/artwork.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/services/xorg.scm: Use it. (%artwork-repository): Remove. * gnu/system/grub.scm: Use it. (%artwork-repository): Remove. Ludovic Courtès2014-11-121-12/+1
* gnu: xorg: Add SLiM theme based on work by Felipe López.•••* gnu/services/xorg.scm (%artwork-repository, %default-slim-theme, %default-slim-theme-name): New variables. (slim-service): Add #:theme and #:theme-name parameters. [slim.cfg]: Honor #:theme-name. Honor #:theme by setting the "SLIM_THEMESDIR" environment variable. * doc/guix.texi (X Window): Adjust 'slim-service' documentation accordingly. Document '%default-slim-theme' and '%default-slim-theme-name'. Ludovic Courtès2014-11-121-5/+49