guix/gnu/services
Vivien Kraus 498db4de1f
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.
2023-10-10 21:59:25 +02:00
..
admin.scm
audio.scm services: configuration: Add some commonly used predicates. 2023-10-07 12:41:06 -04:00
auditd.scm
authentication.scm
avahi.scm
base.scm gnu: udev-service-type: accept hardware description file extensions. 2023-10-10 21:59:25 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm services: configuration: Add some commonly used predicates. 2023-10-07 12:41:06 -04:00
cuirass.scm gnu: cuirass: Update to 797b26a. 2023-10-02 11:07:14 +02:00
cups.scm
databases.scm
dbus.scm gnu: dbus-service: Make the session bus available under /run/dbus. 2023-10-09 21:51:29 +02:00
desktop.scm
dict.scm
dns.scm
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm
linux.scm services: fstrim-service-type: Serialize with SRFI-171 transducers. 2023-10-07 12:41:05 -04:00
lirc.scm
mail.scm
mcron.scm services: mcron: Hide ‘mkdir-p’ from (shepherd support). 2023-10-05 23:14:55 +02:00
messaging.scm
monitoring.scm
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm services: configuration: Add some commonly used predicates. 2023-10-07 12:41:06 -04:00
version-control.scm
virtualization.scm services: hurd-vm: Leave root password uninitialized when offloading. 2023-10-05 23:14:55 +02:00
vnc.scm
vpn.scm
web.scm
xorg.scm