I recently changed my flake input from
nixpkgs/nixos-23.11 , immediately after doing this the wifi disconnected. I then reverted that change and rebooted but it still wasnt working. I was able to get wifi working in a live boot so its not a hardware issue.
I am able to discover and connect to networks but I get the errors
Destination Port Unreachable and
Operation Not Permitted when trying to ping an address.
My system version is 23.11 and nix version is 2.18.1