summaryrefslogtreecommitdiff
path: root/gnu/packages/gnome.scm
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2023-10-02 21:08:49 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-10-10 21:59:25 +0200
commit498db4de1f09414adf68a3a383f0178434035179 (patch)
tree4610329ab3e40e713797bb558a163ec57f5fdeb1 /gnu/packages/gnome.scm
parent95400e5c15c203de58aab7ab6b60abdfe1cc3146 (diff)
gnu: udev-service-type: accept hardware description file extensions.
The udev-configuration record now has a hardware field. The contents of the /etc/udev directory now includes hwdb.bin, which is computed when the system is instanciated (prior to system activation). The hardware description files used to generate hwdb.bin are not installed in /etc, because they are not required at run-time. The documentation has been reworked so as to explain why creating udev rules or hardware needs helper functions for configuration or extension. * gnu/services/base.scm (udev-hardware): New function. (file->udev-hardware): New function. (udev-hardware-service): New function. (udev-etc): Add hwdb.d and hwdb.bin. (module): Export udev-hardware, file->udev-hardware, and udev-hardware-service. (<udev-configuration>): Add the native-udev field. (udev-service-type) [extend]: Populate the hardware field. * doc/guix.texi (Base Services)[udev-service-type]: Explain configuration and extension values. * doc/guix.texi (Base Services)[udev-hardware]: Document it. [udev-hardware-service]: Same. * doc/guix.texi (Base Services)[udev-configuration]: Document the native-udev field.
Diffstat (limited to 'gnu/packages/gnome.scm')
0 files changed, 0 insertions, 0 deletions