My computer booted really slow with a message
a start job is running for udev wait for complete device initialization .
After some research, I ran
systemd-analyze blame and found out the problem was that
systemd-udev-settle took about 6 seconds and
NetworkManager-wait-online 2 seconds.
Searching around I found some related issues:
However, they don’t offer a solution that works for me. After some trying, I came up with this config:
systemd.services.systemd-udev-settle.enable = false; systemd.services.NetworkManager-wait-online.enable = false;
and now my nixos system boots amazing fast!
Hope this will help someone else!