I have a USB WiFi dongle on my PC, attached to a USB hub.
If I move either the dongle to another USB slot on the hub, or the hub to another USB port on the PC, my network breaks on reboot.
For example, when I move the dongle in the hub, it changes from wlp47s0f3u4u4 to wlp47s0f3u3u4.
When I move the hub, but leave the dongle in place, it changes from wlp47s0f3u4u4 to wlp47s0f3u4u3.
Worse, I can’t update the config to reflect the change, because I’ve got no WiFi connection to rebuild my config from, so I have to put my hub and USB dongle back in the right slots.
Can I harden my configuration.nix so that dhcpcd will ask for an IP address for the dongle interface regardless of my USB configuration?