Wpa_cli Can't connect to wpa_supplicant

I have just installed NixOS on a Thinkpad T470s. I used the KDE live image. I was able to connect to my home Wi-Fi network with the KDE Wi-Fi menu in the bottom right corner. I installed no desktop environment. When I try to use “wpa_cli” it gives me the error “Could not connect to wpa_supplicant: (nil) - re-trying”. It gives me the same error when I run with sudo. “sudo systemctl status wpa_supplicant” says that it is running and enabled.

1 Like

I’m facing the same issue. Did you get any solution ?