summaryrefslogtreecommitdiff
path: root/gnu/services
AgeCommit message (Collapse)Author
2016-12-15services: cuirass: Put specifications in the store.Mathieu Lirzin
* gnu/services/cuirass.scm (<cuirass-configuration>): Change type of 'specifications' field to an alist to match the documentation example. (cuirass-shepherd-service): Store the provided specifications in a file. Use that file as the "--specification" argument.
2016-12-15services: postgresql: Add locale to configurationChristopher Baines
* gnu/services/databases.scm (<postgresql-configuration>): Add locale field. (postgresql-shepherd-service): Pass locale to initdb. (postgresql-service): Add locale default. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-15services: postgresql: Add port to configurationChristopher Baines
* gnu/services/databases.scm (<postgresql-configuration>): Add port field. (postgresql-shepherd-service): Pass port to postgres. (postgresql-service): Add port default. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-14services: mysql: Add port to configurationChristopher Baines
* gnu/services/databases.scm (<mysql-configuration>): Add port field. (mysql-configuration-file): Use the port field when creating the configuration file. * doc/guix.texi (Database Services): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-12-05services: file-system: Make sure fsck.* commands are in $PATH.Ludovic Courtès
Fixes a regression introduced in bf7ef1bb848db0977b54ea012789adc68751c68a, whereby the fsck.* commands would not be found. * gnu/services/base.scm (file-system-shepherd-service): Call calls to 'setenv'.
2016-12-04services: tor: Make sure /var/lib is world-readable.Ludovic Courtès
* gnu/services/networking.scm (tor-hidden-service-activation): Add 'chmod' call for /var/lib.
2016-12-03gnu: Add Kerberos client service.John Darrington
* doc/guix.texi (Kerberos Services)[Krb5 Service]: New subsubheading. * gnu/services/kerberos.scm (krb5-service-type): New variable. * gnu/services/configuration.scm (configuration-field-serializer, configuration-field-getter): Export variables.
2016-12-02gnu: file-system-shepherd-service: Use mount-file-system.John Darrington
* gnu/services/base.scm (file-system-shepherd-service): Use mount-file-system instead of manually mounting the file system.
2016-12-01services: cups: Follow symlinks when installing extensions.Andy Patterson
* gnu/services/cups.scm (union-directory): Use "stat" when calling "find-files" to follow symlinks.
2016-11-30services: nginx: Join strings with spaces.Ricardo Wurmus
* gnu/services/web.scm (config-domain-strings, config-index-strings): Use "string-join" to join strings with spaces.
2016-11-29services: Add 'cuirass-service'.Mathieu Lirzin
* gnu/services/cuirass.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Continuous integration): New node.
2016-11-26services: Factorize configuration abstraction.Julien Lepiller
* 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>
2016-11-26gnu: Whitespace changesJohn Darrington
* gnu/services/kerberos.scm: Fold lines to 80 character limit.
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'.Ludovic Courtès
Suggested by Chris Marusich <cmmarusich@gmail.com>. * gnu/services/networking.scm (network-manager-shepherd-service) [requirement]: Add 'wpa-supplicant'.
2016-11-24services: network-manager: Install polkit actions.Ludovic Courtès
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.
2016-11-24services: Move polkit to (gnu services dbus).Ludovic Courtès
* 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.
2016-11-21services: static-networking: Remove unused parameter.Ludovic Courtès
This is a followup to e48fcd7b8d07f213b23e3b432b0f10db917f69fa. * gnu/services/networking.scm (static-networking-service): Remove #:net-tools. (static-networking-service-type): Remove outdated comment.
2016-11-21gnu: services: Add git-service.ng0
* 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>
2016-11-21services: static-networking: Avoid use of net-tools.Ludovic Courtès
* 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.
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.Ludovic Courtès
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.
2016-11-15services: Require wpa-supplicant-service for connman-service.Tomáš Čech
* gnu/services/networking.scm (connman-shepherd-service): Add wpa-supplicant among list of requirements.
2016-11-15services: Add wpa-supplicant-service.Tomáš Čech
* gnu/services/networking.scm (wpa-supplicant-service): New procedure. (wpa-supplicant-service-type): New variable. * doc/guix.texi (Networking Services): Document it.
2016-11-13Merge branch 'core-updates'Ludovic Courtès
2016-11-08gnu: Add pam-krb5 service.John Darrington
* doc/guix.texi (Kerberos Services): New node. * gnu/services/kerberos.scm: New file. * gnu/local.mk: Add it.
2016-10-26Merge branch 'master' into core-updatesLeo Famulari
2016-10-24services: nginx: Virtual hosts are first-class configuration items.Julien Lepiller
* 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>
2016-10-23Merge branch 'master' into core-updatesMark H Weaver
2016-10-20services: ntpd: Add 'allow-large-adjustment?' knob.Ludovic Courtès
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.
2016-10-17Merge branch 'master' into core-updatesMark H Weaver
2016-10-15gnu: services sddm Fix typo.John Darrington
* gnu/services/sddm.scm: sddm-confiugration? --> sddm-configuration?
2016-10-13Merge branch 'master' into core-updatesMark H Weaver
2016-10-13gnu: Add CUPS service.Andy Wingo
* gnu/services/cups.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/services/cups.scm. * doc/guix.texi (Printing Services): New section.
2016-10-12gnu: Add NFS related services.John Darrington
* 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.
2016-10-06services: xorg: Add ATI video driver to the default modules.8p8c
* gnu/services/xorg.scm (%default-xorg-modules): Add xf86-video-ati. Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-03services: rottlog: Add Rottlog to the global profile.Ludovic Courtès
* gnu/services/admin.scm (rottlog-service-type): Extend PROFILE-SERVICE-TYPE.
2016-10-03services: rottlog: Improve default weekly rotations.Ludovic Courtès
* 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.
2016-10-03services: openssh-service-type: Expose 'openssh-configuration'.Ludovic Courtès
* 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.
2016-10-03services: Add rottlog.Jan Nieuwenhuizen
* 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>
2016-10-01gnu: rpcbind-configuration: Rename pkg to nfs-utilsJohn Darrington
* gnu/services/nfs.scm (<rpcbind-configuration>): "pkg" --> "nfs-utils"
2016-09-29services: Add 'openssh-service'.Julien Lepiller
* 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>
2016-09-27gnu: New default Dovecot service postmaster_addressAndy Wingo
* 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.
2016-09-19services: console-font: A single service handles all the VTs.Ludovic Courtès
* 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.
2016-09-16doc: "filesystem" -> "file system"John Darrington
* 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"
2016-09-13services: nginx: Actually check if configuration is valid.Tobias Geerinckx-Rice
* gnu/services/web.scm (nginx-activation): Fix path to nginx binary.
2016-09-11services: Add kmscon service.David Craven
* gnu/services/base.scm (<kmscon-configuration>, kmscon-service-type): New variables. * doc/guix.texi (@deffn kmscon-service-type, @deftp kmscon-configuration): Add documentation.
2016-09-11services: Add login-service.David Craven
* 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.
2016-09-10system: Use 'file-append' to denote file names.Ludovic Courtès
* 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").
2016-09-08services: ntpd: Use a dedicated directory for drift file.John Darrington
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.