I want to speed up my boot times and don’t need Network directly after boot.
How do I disable “systemd-networkd-wait-online.service”?
I tried “systemctl mask systemd-networkd-wait-online.service”, but that seems to have no effect. systemd-analyze plot > plot.svg shows that I wait 8 Seconds for my Network Connection. I am using Bazzite at the moment.
mask doesn’t disable a service, it’s most commonly used to prevent conflict with other services. You have to disable it.
sudo systemctl unmask systemd-networkd-wait-online.service
sudo systemctl disable systemd-networkd-wait-online.service
# only if necessary, but I don't think it is
sudo systemctl mask systemd-networkd-wait-online.service
Personally I disable NetworkManager-wait-online.service instead, which is enabled by default. systemd-networkd-wait-online.service doesn’t seem to be preset to enabled by default, at least on my end, so you might want to try with NetworkManager-wait-online.service instead.