guix/gnu/services
Maxim Cournoyer e9fa17eb98
services: udev: Use a fixed location for the rules directory and config.
Fixes <https://issues.guix.gnu.org/47681>.

This change adjusts the location of the udev configuration file and rules
directory to a fixed location.  Since udev relies on inotify to discover
change to its rules directory (/etc/udev/rules.d), by using a fixed directory
layout, new udev rules can be automatically picked up without restarting the
service.

* gnu/services/base.scm (udev-rules-union): Build rules output directly
in #$output.
(udev-shepherd-service)[start]: Adjust the UDEV_CONFIG_FILE and
EUDEV_RULES_DIRECTORY environment variables.
[actions]: Remove field.  The 'rules' action is no longer useful.
(udev.conf): New variable.
(udev-etc): New procedure.
(udev-service-type): Extend the etc-service-type with it.
2022-02-20 19:58:14 -05:00
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
base.scm services: udev: Use a fixed location for the rules directory and config. 2022-02-20 19:58:14 -05:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm services: cuirass: Also rotate the web log. 2022-02-17 13:39:02 -05:00
cups.scm
databases.scm
dbus.scm services: dbus: Increase auth_timeout value to 5 minutes. 2022-02-19 01:37:42 -05:00
desktop.scm
dict.scm
dns.scm
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: nar-herder: Support ttl and negative-ttl options. 2022-02-04 10:09:01 +00:00
herd.scm
hurd.scm
kerberos.scm
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm services: zabbix: Add requirement on 'user-processes'. 2022-02-17 18:13:16 +01:00
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm services: tlp: Add config variables for battery charging. 2022-02-02 10:43:04 +01:00
rsync.scm
science.scm
sddm.scm
security-token.scm
shepherd.scm
sound.scm services/sound: Add a udev extension for the pulseaudio service type. 2022-02-01 21:48:01 -05:00
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm services: qemu-guest-agent: Fix implementation. 2022-02-18 14:14:39 +01:00
vpn.scm
web.scm services: web: Rotate mumi logs. 2022-02-17 13:39:02 -05:00
xorg.scm services: gdm-service-type: Require elogind. 2022-02-10 23:17:48 +01:00