mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: fprintd: Use define-configuration.
* gnu/services/authentication.scm: Use define-configuration in fprintd.
This commit is contained in:
parent
17ae31b7a8
commit
dc01978288
1 changed files with 3 additions and 5 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue