Speed up boot on Arch Linux by disabling NetworkManager
10 March 2023
Run this:
systemctl disable NetworkManager-wait-online.service
This disables the NetworkManager-wait-online service in systemd (duh). This service waits until the internet is up, because other services might depend on that. If there aren’t any services depending on an active internet interface, then this can safely be turned off.
And for some reason systemd tries to decrypt my encrypted home partition twice, so I run this as well:
systemctl mask systemd-cryptsetup@home.service
This disables the second time it tries to mount it
(because the second time always fails), by letting it
point to nothing (just
systemd disable
doesn’t work since
it’s generated on the fly by some generator).