summaryrefslogtreecommitdiff
path: root/gnu/services
AgeCommit message (Collapse)Author
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.
2016-09-07gnu: Add rpc-daemon serviceJohn Darrington
* gnu/services/nfs.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-09-07services: syslog: Use a PID file.Ludovic Courtès
* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach and use #:pid-file.
2016-09-06services: Add sddm service.David Craven
* gnu/services/sddm.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (@deftp, @deffn): Add documentation.
2016-09-06services: syslog: Use syslog-configuration.David Craven
* 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.
2016-09-06services: Export initrc.David Craven
* gnu/services/xorg.scm (define-module): Export initrc.
2016-09-01gnu: Fix typo in description of xfce-desktop-service.John Darrington
* gnu/services/desktop.scm (xfce-desktop-service) abilit --> ability.
2016-09-01Reinstate "services: elogind: Provide '%elogind-file-systems' by extension."Ludovic Courtès
This reverts commit 17073dafc59d62fb8cbb8b94d61d3ecc488ac59f.
2016-09-01gnu: slim: Move to display-managers.scm.Marius Bakke
* 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.
2016-08-31services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'.Ludovic Courtès
* 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.
2016-08-31services: shepherd: Parameterize 'shepherd-service-back-edges'.Ludovic Courtès
* gnu/services/shepherd.scm (shepherd-service-back-edges): Add #:provision and #:requirement parameter. Honor them.
2016-08-31services: shepherd: Add 'shepherd-service-lookup-procedure'.Ludovic Courtès
* 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.
2016-08-31services: herd: Provide <live-service> objects.Ludovic Courtès
* gnu/services/herd.scm (<live-service>): New record type. (current-services): Change to return a single value: #f or a list of <live-service>. * guix/scripts/system.scm (call-with-service-upgrade-info): Adjust accordingly. * gnu/tests/base.scm (run-basic-test)["shepherd services"]: Adjust accordingly.
2016-08-22Revert "services: elogind: Provide '%elogind-file-systems' by extension."Mark H Weaver
This reverts commit 3cf319a3f8e23831960a0f1320122cc514188a37.
2016-08-22services: elogind: Provide '%elogind-file-systems' by extension.Ludovic Courtès
* gnu/system/file-systems.scm (%base-file-systems): Remove %ELOGIND-FILE-SYSTEMS. * gnu/services/desktop.scm (elogind-service-type): Extend FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
2016-08-22services: Make a single extensible 'file-systems' service.Ludovic Courtès
Previously we would create one 'file-system-service-type' instead per file system. Now, we create only one instance for all the file systems. * gnu/services/base.scm (fstab-service-type)[compose]: Change to CONCATENATE. (file-system-shepherd-service): Change to return either one <shepherd-service> or #f. (file-system-service-type): Pluralize 'name'. Adjust SHEPHERD-ROOT-SERVICE-TYPE extension to above changes. Add 'compose' and 'extend'. (file-system-service): Remove. * gnu/system.scm (other-file-system-services): Rename to... (non-boot-file-system-service): ... this. Change to return a single FILE-SYSTEM-SERVICE-TYPE instance. (essential-services): Adjust accordingly.
2016-08-19services: guix: Add 'authorized-keys' configuration knob.Ludovic Courtès
* gnu/services/base.scm (hydra-key-authorization): Add 'key' parameter and honor it. (%default-authorized-guix-keys): New variable. (<guix-configuration>)[authorized-keys]: New field. (guix-shepherd-service): Adjust 'match' clause accordingly. (guix-activation): Adjust call to 'hydra-key-authorization'. * doc/guix.texi (Base Services): Document 'authorized-keys'.
2016-08-14services: guix: Fix activation when 'authorize-key?' is false.Mark H Weaver
* gnu/services/base.scm (guix-activation): Ensure that a gexp is returned when 'authorize-key?' is false.
2016-08-05services: Add spice vdagent service.David Craven
* gnu/services/spice.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New subheading.
2016-07-21services: Export *-service-type and *-configuration.Tomáš Čech
This allows users to use 'modify-services' and similar constructs for all these service types. * gnu/services/avahi.scm: export avahi-configuration. * gnu/services/base.scm: export gpm-configuration and rngd-configuration. * gnu/services/databases.scm: export *-service-type and *-configuration. * gnu/services/dbus.scm: export dbus-configuration. * gnu/services/dict.scm: export dicod-service-type. * gnu/services/lirc.scm: export lirc-configuration and lirc-service-type. * gnu/services/mail.scm: export dovecot-service-type. * gnu/services/web.scm: export nginx-configuration and nginx-service-type. * gnu/services/xorg.scm: export screen-locker and screen-locker?. * gnu/services/ssh.scm: export lsh-configuration and lsh-service-type. * gnu/services/desktop.scm: export *-service, *-service-type and *-configuration. * gnu/services/networking.scm: export *-configuration and *-service-type. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19services: Add pam-limits-service.Ricardo Wurmus
* gnu/system/pam.scm (<pam-limits-entry>): New record type. (pam-limits-entry, pam-limits-entry->string): New procedures. * gnu/services/base.scm (pam-limits-service-type): New variable. (pam-limits-service): New procedure. * doc/guix.texi (Base Services): Document it.
2016-07-19services: shepherd: Clarify error message about missing service.Ludovic Courtès
Suggested by Tobias Geerinckx-Rice <me@tobias.gr>. * gnu/services/shepherd.scm (assert-valid-graph)[assert-satisfied-requirements]: Clarify error message.
2016-07-16services: dbus: Synchronize startup using dbus-daemon's PID file.Ludovic Courtès
* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to 'make-forkexec-constructor'.