services: fprintd: Use define-configuration.
* gnu/services/authentication.scm: Use define-configuration in fprintd.
This commit is contained in:
parent
17ae31b7a8
commit
dc01978288
|
@ -42,11 +42,9 @@
|
||||||
nslcd-configuration?
|
nslcd-configuration?
|
||||||
nslcd-service-type))
|
nslcd-service-type))
|
||||||
|
|
||||||
(define-record-type* <fprintd-configuration>
|
(define-configuration fprintd-configuration
|
||||||
fprintd-configuration make-fprintd-configuration
|
(fprintd (package fprintd)
|
||||||
fprintd-configuration?
|
"The fprintd package"))
|
||||||
(fprintd fprintd-configuration-fprintd
|
|
||||||
(default fprintd)))
|
|
||||||
|
|
||||||
(define (fprintd-dbus-service config)
|
(define (fprintd-dbus-service config)
|
||||||
(list (fprintd-configuration-fprintd config)))
|
(list (fprintd-configuration-fprintd config)))
|
||||||
|
|
Loading…
Reference in New Issue