This is a Dracut Module that enables numlock during the early boot process. This can be handy if you use digits for unlocking your luks2 partition with a tpm or fido2 device.
The module requires the setleds binary.
Copy the 51numlock directory into the Dracut module directory.
cp -ri 51numlock /usr/lib/dracut/modules.dThe module is enabled by default.