Commit | Line | Data |
---|---|---|
7f93bbd5 DM |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu services fingerprint) | |
20 | #:use-module (gnu services) | |
21 | #:use-module (gnu services dbus) | |
22 | #:use-module (gnu packages freedesktop) | |
23 | #:use-module (guix gexp) | |
24 | #:use-module (guix records) | |
25 | #:export (fprintd-configuration | |
26 | fprintd-configuration? | |
27 | fprintd-service-type)) | |
28 | ||
29 | (define-record-type* <fprintd-configuration> | |
30 | fprintd-configuration make-fprintd-configuration | |
31 | fprintd-configuration? | |
32 | (ntp fprintd-configuration-fprintd | |
33 | (default fprintd))) | |
34 | ||
35 | (define fprintd-service-type | |
36 | (service-type (name 'fprintd) | |
37 | (extensions | |
38 | (list (service-extension dbus-root-service-type | |
39 | list))) | |
40 | (description | |
41 | "Run fprintd, a fingerprint management daemon."))) |