summaryrefslogtreecommitdiff
path: root/gnu/services
AgeCommit message (Expand)Author
2016-11-26services: Factorize configuration abstraction....* gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error) (configuration-error, configuration-field-error) (configuration-missing-field, configuration-field, serialize-configuration) (validate-configuration, define-configuration, uglify-field-name) (serialize-field, serialize-package, serialize-string) (serialize-space-separated-string-list, space-separated-string-list?) (serialize-file-name, file-name?, serialize-field-name) (generate-documentation): Move duplicate code... * gnu/services/configuration.scm: ...to this new file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Julien Lepiller
2016-11-26gnu: Whitespace changes...* gnu/services/kerberos.scm: Fold lines to 80 character limit. John Darrington
2016-11-26services: Add opensmtpd service....* gnu/services/mail.scm (<opensmtpd-configuration>): New record type. (%default-opensmtpd-config-file, %opensmtpd-accounts): New variables. (opensmtpd-shepherd-service, opensmtpd-activation): New procedures. (opensmtpd-service-type): New variable. * doc/guix.texi (Mail Services): Document it. 宋文武
2016-11-24services: network-manager: Depend on 'wpa-supplicant'....Suggested by Chris Marusich <cmmarusich@gmail.com>. * gnu/services/networking.scm (network-manager-shepherd-service) [requirement]: Add 'wpa-supplicant'. Ludovic Courtès
2016-11-24services: network-manager: Install polkit actions....Reported by Chris Marusich <cmmarusich@gmail.com> at <https://lists.gnu.org/archive/html/help-guix/2016-11/msg00038.html>. * gnu/services/networking.scm (network-manager-service-type)[extensions]: Add POLKIT-SERVICE-TYPE. Ludovic Courtès
2016-11-24services: Move polkit to (gnu services dbus)....* gnu/services/desktop.scm (<polkit-configuration>, %polkit-accounts) (%polkit-pam-services, polkit-directory, polkit-etc-files) (polkit-setuid-programs, polkit-service-type, polkit-service): Move to... * gnu/services/dbus.scm: ... here. Ludovic Courtès
2016-11-21services: static-networking: Remove unused parameter....This is a followup to e48fcd7b8d07f213b23e3b432b0f10db917f69fa. * gnu/services/networking.scm (static-networking-service): Remove #:net-tools. (static-networking-service-type): Remove outdated comment. Ludovic Courtès
2016-11-21gnu: services: Add git-service....* gnu/services/version-control.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Misellaneous Services)[Version Control]: New section. Co-authored-by: 宋文武 <iyzsong@member.fsf.org> ng0
2016-11-21services: static-networking: Avoid use of net-tools....* gnu/services/networking.scm (<static-networking>)[net-tools]: Remove. (static-networking-service-type): Use 'add-network-route/gateway' and 'delete-network-route' instead of NET-TOOLS. (static-networking-service): Adjust accordingly. Ludovic Courtès
2016-11-19services: dicod-service: Honor 'dicod-configuration-dico'....* gnu/services/dict.scm (dicod-shepherd-service): Use 'dicod-configuration-dico' of config. 宋文武
2016-11-17services: static-networking: Add netmask....Reported by Mathieu Lirzin and Andreas Enge. * gnu/services/networking.scm (<static-networking>)[netmask]: New field. (static-networking-service-type): Honor it. * gnu/services/networking.scm (static-networking-service): Add #:netmask and honor it. * doc/guix.texi (Networking Services): Adjust accordingly. Ludovic Courtès
2016-11-15services: Require wpa-supplicant-service for connman-service....* gnu/services/networking.scm (connman-shepherd-service): Add wpa-supplicant among list of requirements. Tomáš Čech
2016-11-15services: Add wpa-supplicant-service....* gnu/services/networking.scm (wpa-supplicant-service): New procedure. (wpa-supplicant-service-type): New variable. * doc/guix.texi (Networking Services): Document it. Tomáš Čech
2016-11-13Merge branch 'core-updates'Ludovic Courtès
2016-11-08gnu: Add pam-krb5 service....* doc/guix.texi (Kerberos Services): New node. * gnu/services/kerberos.scm: New file. * gnu/local.mk: Add it. John Darrington
2016-10-26Merge branch 'master' into core-updatesLeo Famulari
2016-10-24services: nginx: Virtual hosts are first-class configuration items....* gnu/services/web.scm (<nginx-vhost-configuration>): New record type. (config-domain-strings): New procedure. (config-index-strings): New procedure. (default-nginx-vhost-config): New procedure. (default-nginx-config): Add vhost support and temporary directories (nginx-activation): Create temporary directories (nginx-service): Add vhost-list key. * doc/guix.texi (Web Services): Document 'nginx-vhost-configuration'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Julien Lepiller
2016-10-23Merge branch 'master' into core-updatesMark H Weaver
2016-10-20services: ntpd: Add 'allow-large-adjustment?' knob....Suggested by Leo Famulari. * gnu/services/networking.scm (<ntp-configuration>)[allow-large-adjustment?]: New field. (ntp-shepherd-service): Honor it. (ntp-service): Add #:allow-large-adjustment? and honor it. * doc/guix.texi (Networking Services): Document it. Ludovic Courtès
2016-10-17Merge branch 'master' into core-updatesMark H Weaver
2016-10-15gnu: services sddm Fix typo....* gnu/services/sddm.scm: sddm-confiugration? --> sddm-configuration? John Darrington
2016-10-13Merge branch 'master' into core-updatesMark H Weaver
2016-10-13gnu: Add CUPS service....* gnu/services/cups.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/services/cups.scm. * doc/guix.texi (Printing Services): New section. Andy Wingo
2016-10-12gnu: Add NFS related services....* gnu/services/nfs.scm (pipefs-service-type): New variable, (gss-service-type): New variable, (idmap-service-type) New variable. * doc/guix.texi (Network File System): New node. John Darrington
2016-10-06services: xorg: Add ATI video driver to the default modules....* gnu/services/xorg.scm (%default-xorg-modules): Add xf86-video-ati. Signed-off-by: 宋文武 <iyzsong@gmail.com> 8p8c
2016-10-03services: rottlog: Add Rottlog to the global profile....* gnu/services/admin.scm (rottlog-service-type): Extend PROFILE-SERVICE-TYPE. Ludovic Courtès
2016-10-03services: rottlog: Improve default weekly rotations....* gnu/services/admin.scm (%rotated-files): Add "/var/log/maillog". (syslog-rotation-config): Change parameter to 'files'. Return a string-append gexp for all of FILES. (simple-rotation-config): Remove unnecessary 'postrotate' and 'endscript'. (%default-rotations): Adjust accordingly. Ludovic Courtès
2016-10-03services: openssh-service-type: Expose 'openssh-configuration'....* gnu/services/ssh.scm (<openssh-configuration>): Add default values. [pubkey-authentication?]: Rename to... [public-key-authentication?]: ... this. (openssh-service): Remove. * doc/guix.texi (Networking Services): Adjust accordingly. Ludovic Courtès
2016-10-03services: Add rottlog....* gnu/services/admin.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Log Rotation): New node. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Jan Nieuwenhuizen
2016-10-01gnu: rpcbind-configuration: Rename pkg to nfs-utils...* gnu/services/nfs.scm (<rpcbind-configuration>): "pkg" --> "nfs-utils" John Darrington
2016-09-29services: Add 'openssh-service'....* gnu/packages/ssh.scm (openssh)[arguments]: Set sysconfdir to /etc/ssh. * gnu/services/ssh.scm (<openssh-configuration>): New record type. (%openssh-accounts): New variable. (openssh-activation, openssh-config-file, openssh-shepherd-service) (openssh-service): New procedures. (openssh-service-type): New variable. * doc/guix.texi (Networking Services): Document 'openssh-services'. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Julien Lepiller
2016-09-27gnu: New default Dovecot service postmaster_address...* gnu/services/mail.scm (dovecot-configuration): Change default for postmaster-address, as dovecot is now requiring a non-empty value and will fail to start up otherwise. * doc/guix.texi (Mail Services): Update. Andy Wingo
2016-09-19services: console-font: A single service handles all the VTs....* gnu/services/base.scm (%default-console-font): New variable. (console-font-shepherd-services): New procedure. (console-font-service-type): Change to use 'service-type'. (console-font-service): Rewrite using 'simple-service'. (%base-services): Use a single CONSOLE-FONT-SERVICE-TYPE instance. * gnu/system/install.scm (installation-services): Likewise. Ludovic Courtès
2016-09-16doc: "filesystem" -> "file system"...* doc/guix.texi: "filesystem" -> "file system" * gnu/packages/admin.scm: "filesystem" -> "file system" * gnu/packages/cdrom.scm: "filesystem" -> "file system" * gnu/packages/compression.scm: "filesystem" -> "file system" * gnu/packages/disk.scm: "filesystem" -> "file system" * gnu/packages/gnome.scm: "filesystem" -> "file system" * gnu/packages/irc.scm: "filesystem" -> "file system" * gnu/packages/linux.scm: "filesystem" -> "file system" * gnu/packages/mail.scm: "filesystem" -> "file system" * gnu/packages/mpd.scm: "filesystem" -> "file system" * gnu/packages/ocaml.scm: "filesystem" -> "file system" * gnu/packages/perl.scm: "filesystem" -> "file system" * gnu/packages/python.scm: "filesystem" -> "file system" * gnu/packages/search.scm: "filesystem" -> "file system" * gnu/packages/tls.scm: "filesystem" -> "file system" * gnu/services/mail.scm: "filesystem" -> "file system" John Darrington
2016-09-13services: nginx: Actually check if configuration is valid....* gnu/services/web.scm (nginx-activation): Fix path to nginx binary. Tobias Geerinckx-Rice
2016-09-11services: Add kmscon service....* gnu/services/base.scm (<kmscon-configuration>, kmscon-service-type): New variables. * doc/guix.texi (@deffn kmscon-service-type, @deftp kmscon-configuration): Add documentation. David Craven
2016-09-11services: Add login-service....* gnu/services/base.scm (%default-motd, <login-configuration>, login-pam-service, login-serivce-type, login-service): New variables. (<mingetty-configuration>, mingetty-shepherd-service, mingetty-serivce-type): Remove motd. Remove allow-empty-passwords?. Remove mingetty-pam-service. (%base-services): Add login-service. Remove motd. David Craven
2016-09-10system: Use 'file-append' to denote file names....* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/databases.scm, gnu/services/dbus.scm, gnu/services/desktop.scm, gnu/services/dict.scm, gnu/services/mail.scm, gnu/services/networking.scm, gnu/services/sddm.scm, gnu/services/spice.scm, gnu/services/ssh.scm, gnu/services/web.scm, gnu/services/xorg.scm, gnu/system.scm: Replace the #~(string-append #$pkg "/bin/foo") idiom with (file-append pkg "/bin/foo"). Ludovic Courtès
2016-09-08services: ntpd: Use a dedicated directory for drift file....Fixes <https://bugs.gnu.org/24366>. Drift file now resides in a dedicated directory owned by the daemon. * gnu/services/networking.scm (ntp-service-activation): New procedure, (ntp-service-type): Add new service-extension. John Darrington
2016-09-07gnu: Add rpc-daemon service...* gnu/services/nfs.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. John Darrington
2016-09-07services: syslog: Use a PID file....* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach and use #:pid-file. Ludovic Courtès
2016-09-06services: Add sddm service....* gnu/services/sddm.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (@deftp, @deffn): Add documentation. David Craven
2016-09-06services: syslog: Use syslog-configuration....* gnu/services/base.scm (<syslog-configuration>): New variable. (syslog-service-type): Use <syslog-configuration>. (syslog-service): Use <syslog-configuration>. * gnu/tests/base.scm (%avahi-os): Use <syslog-configuration>. * doc/guix.texi (syslog-configuration-type): Add @deftp. (syslog-service): Update @deffn. David Craven
2016-09-06services: Export initrc....* gnu/services/xorg.scm (define-module): Export initrc. David Craven
2016-09-01gnu: Fix typo in description of xfce-desktop-service....* gnu/services/desktop.scm (xfce-desktop-service) abilit --> ability. John Darrington
2016-09-01Reinstate "services: elogind: Provide '%elogind-file-systems' by extension."...This reverts commit 17073dafc59d62fb8cbb8b94d61d3ecc488ac59f. Ludovic Courtès
2016-09-01gnu: slim: Move to display-managers.scm....* gnu/packages/display-managers.scm: New file. * gnu/packages/slim.scm: Delete file. * gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/services/xorg.scm: Likewise. Marius Bakke
2016-08-31services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'....* guix/scripts/system.scm (service-upgrade): Move to... * gnu/services/shepherd.scm (shepherd-service-upgrade): ... here. * tests/system.scm ("service-upgrade: nothing to do", "service-upgrade: one unchanged, one upgraded, one new", "service-upgrade: service depended on is not unloaded", "service-upgrade: obsolete services that depend on each other"): Move to... * tests/services.scm: ... here. Adjust to 'service-upgrade' rename. Ludovic Courtès
2016-08-31services: shepherd: Parameterize 'shepherd-service-back-edges'....* gnu/services/shepherd.scm (shepherd-service-back-edges): Add #:provision and #:requirement parameter. Honor them. Ludovic Courtès
2016-08-31services: shepherd: Add 'shepherd-service-lookup-procedure'....* gnu/services/shepherd.scm (shepherd-service-lookup-procedure): New procedure. (shepherd-service-back-edges)[provision->service]: Use it. * tests/services.scm ("shepherd-service-lookup-procedure"): New test. Ludovic Courtès