Only restart `systemd-udevd.service` if udev rules in `/etc/udev/rules` actually changed. The paths of `services.udev.packages` may change frequently but the resulting udev rules built by `udevRulesFor` likely change less often. This has the added benefit of not adding `services.udev.packages` to the system closure if they are only used for their udev rules (issue #308937).
15 KiB
15 KiB