mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 11:46:15 -05:00
17 lines
784 B
Text
17 lines
784 B
Text
(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
|