services: fprintd: Fix service.
* gnu/services/authentication.scm (<fprintd-configuration>)[ntp]: Rename to... [fprintd]: ...this. (fprintd-dbus-service): New procedure. (fprintd-service-type): Use it. [default-value]: Add value.
This commit is contained in:
parent
38dd8b6058
commit
0682f08463
@ -45,14 +45,18 @@
|
||||
(define-record-type* <fprintd-configuration>
|
||||
fprintd-configuration make-fprintd-configuration
|
||||
fprintd-configuration?
|
||||
(ntp fprintd-configuration-fprintd
|
||||
(fprintd fprintd-configuration-fprintd
|
||||
(default fprintd)))
|
||||
|
||||
(define (fprintd-dbus-service config)
|
||||
(list (fprintd-configuration-fprintd config)))
|
||||
|
||||
(define fprintd-service-type
|
||||
(service-type (name 'fprintd)
|
||||
(extensions
|
||||
(list (service-extension dbus-root-service-type
|
||||
list)))
|
||||
fprintd-dbus-service)))
|
||||
(default-value (fprintd-configuration))
|
||||
(description
|
||||
"Run fprintd, a fingerprint management daemon.")))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user