Wireless device disappears after configuration migration

Hi everyone,

I’m trying to migrate my nixos configuration from the standard config in /etc/nixos to the configuration of the xwing host at my dendritic configuration ( GitHub - lehmius/heimdall: My nix config · GitHub ). The build is successful, but when I reboot the system my wireless device wlp1s0 does not show up using ip link or nmcli. I have been trying to figure out why, but could not find anything relevant. One post I found mentioned an upgrade of the kernel worked for them in a similar situation, but I’m already using the latest kernel package in the unstable channel for the xwing config, which is newer than the config I’m migrating away from.
Does anyone know how this is happening? Thanks in advance for any help.

Edit: Spelling

I started using nixos-facter for my hardware config, which fixed the issue. I still don’t know what the underlying issue was or why using facter fixes the issue. The network device has a different name now though.

Edit: After another reboot the device name change back to the original name.