Gnome Display Manager fails to login until Wi-Fi connection is established

Oh wow, it seems that fixes it for me also…

I ran systemctl list-dependencies NetworkManager-wait-online.service --all --reverse to see what services were dependent on NetworkManager-wait-online and I was presented with the following result:

NetworkManager-wait-online.service
● └─network-online.target
●   └─multi-user.target
●     └─graphical.target

Then I search why multi-user.target depends on network-online.target and I found this immediately:

And it seems to still be the issue on nixos-24.05:

I’ll make a bug report in a next day or two, this is obviously not a normal behavior…