New Package That Manipulates Udev

I had a look and the consensus seems to be to add udev rules to $out/lib/udev/rules.d/ and then add the package to services.udev.packages = [ my-package ]; either directly in configuration.nix or through a module. Below is a couple of example packages that do this.

1 Like