services: fprintd: Use define-configuration.

* gnu/services/authentication.scm: Use define-configuration in fprintd.
This commit is contained in:
Danny Milosavljevic 2019-04-17 08:56:32 +02:00
parent 17ae31b7a8
commit dc01978288
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -42,11 +42,9 @@ (define-module (gnu services authentication)
nslcd-configuration?
nslcd-service-type))
(define-record-type* <fprintd-configuration>
fprintd-configuration make-fprintd-configuration
fprintd-configuration?
(fprintd fprintd-configuration-fprintd
(default fprintd)))
(define-configuration fprintd-configuration
(fprintd (package fprintd)
"The fprintd package"))
(define (fprintd-dbus-service config)
(list (fprintd-configuration-fprintd config)))