aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-04-17 08:56:32 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2019-04-21 10:40:19 +0200
commitdc01978288318a8155e2e2657be9b278a754ebac (patch)
tree93534754330ed7295b4418e076036ec26ed5c934 /gnu/services
parent17ae31b7a80e0794a5b621bc04f8dec5b88fef96 (diff)
downloadguix-dc01978288318a8155e2e2657be9b278a754ebac.tar
guix-dc01978288318a8155e2e2657be9b278a754ebac.tar.gz
services: fprintd: Use define-configuration.
* gnu/services/authentication.scm: Use define-configuration in fprintd.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/authentication.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/services/authentication.scm b/gnu/services/authentication.scm
index 6a9dab9185..16df4da1fc 100644
--- a/gnu/services/authentication.scm
+++ b/gnu/services/authentication.scm
@@ -42,11 +42,9 @@
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)))