[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: services: fprintd: Use define-configuration.
From: |
guix-commits |
Subject: |
01/01: services: fprintd: Use define-configuration. |
Date: |
Sun, 21 Apr 2019 04:40:51 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit dc01978288318a8155e2e2657be9b278a754ebac
Author: Danny Milosavljevic <address@hidden>
Date: Wed Apr 17 08:56:32 2019 +0200
services: fprintd: Use define-configuration.
* gnu/services/authentication.scm: Use define-configuration in fprintd.
---
gnu/services/authentication.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gnu/services/authentication.scm b/gnu/services/authentication.scm
index 6a9dab9..16df4da 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)))