For anyone who wants to keep the automatic numlock in the initrd after switching to systemd, I've made a small systemd unit which I've shared with the community as the mkinitcpio-sd-numlock package (the mkinitcpio hook is called sd-numlock).
It's a "pure" systemd unit (no shell script), so it work even if you remove the base hook (which is optional when using systemd).
Pinned Comments
Zoddo commented on 2025-11-26 19:43 (UTC)
For anyone who wants to keep the automatic numlock in the initrd after switching to systemd, I've made a small systemd unit which I've shared with the community as the mkinitcpio-sd-numlock package (the mkinitcpio hook is called
sd-numlock).It's a "pure" systemd unit (no shell script), so it work even if you remove the
basehook (which is optional when using systemd).