Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/udev: only restart when udev rules change
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).
- Loading branch information