Running NetworkManager in initrd

If you can accept wpa_supplicant in initrd, then it’s relatively easy to make Wi-Fi and SSH work. This avoids dbus and I’ve just deployed it on my Raspberry Pi.
My working config:
https://git.sr.ht/~prince213/dotfiles/tree/main/item/systems/pegasus/boot.nix
Relavent discussion:

1 Like