Now disable and reenable getty@tty1.service to use the new template. Repeat this if you enabled additional instances. The default configuration spawns additional instances on demand using /usr/lib/systemd/system/autovt@.service, which is a symlink to the default getty@.service. We can add a symlink in /etc/systemd/system to tell systemd to use our custom service file:

# cd /etc/systemd/system
# ln -s getty@.service autovt@.service

Bash alternative

Add setleds -D +num to ~/.bash_profile. Note that, unlike the other methods, this will not take effect until after you log in.

X.org

Various methods are available.

startx

Install the numlockx package and add it to the ~/.xinitrc file before exec: