boot.initrd.services.udev.rules
NixOS option
udev rules to include in the initrd only. They’ll be written into file 99-local.rules. Thus they are read and applied after the essential initrd rules.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/services/hardware/udev.nixView source on NixOS/nixpkgs →''
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1D:60:B9:6D:4F", KERNEL=="eth*", NAME="my_fast_network_card"
''