services: %base-services: Use nscd-service-type.

* gnu/services/base.scm (nscd-service-type)[default-value]: New field.
(%base-services): Replace nscd-service with nscd-service-type.
This commit is contained in:
Efraim Flashner 2019-01-20 15:16:44 +02:00
parent 7194745a16
commit db9035492b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7,6 +7,7 @@
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1358,6 +1359,7 @@ (define nscd-service-type
(name-services (append
(nscd-configuration-name-services config)
name-services)))))
(default-value %nscd-default-configuration)
(description
"Runs libc's @dfn{name service cache daemon} (nscd) with the
given configuration---an @code{<nscd-configuration>} object. @xref{Name
@ -2327,7 +2329,7 @@ (define %base-services
(syslog-service)
(service urandom-seed-service-type)
(service guix-service-type)
(nscd-service)
(service nscd-service-type)
;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is
;; used, so enable them by default. The FUSE and ALSA rules are