18 lines
784 B
Plaintext
18 lines
784 B
Plaintext
|
(define-module (ryan-services udev)
|
||
|
#:use-module (gnu packages)
|
||
|
#:use-module (gnu services)
|
||
|
#:use-module (gnu services base)
|
||
|
#:use-module (guix gexp)
|
||
|
#:export (udev-hwdb-configuration
|
||
|
udev-hwdb-configuration?
|
||
|
udev-hwdb-configuration-rule))
|
||
|
|
||
|
(define-record-type* <udev-hwdb-configuration>
|
||
|
udev-hwdb-configuration make-udev-hwdb-configuration
|
||
|
udev-hwdb-configuration? this-udev-hwdb-configuration
|
||
|
(hwdb-rules udev-hwdb-configuration-hwdb-rules ;list of file-like
|
||
|
(default '())))
|
||
|
|
||
|
; TODO: define hwdb rules like udev rules, add compiler step, splice this config
|
||
|
; into udev service proper, hopefully etc-config handles this gracefully
|