NetworkManager is broken after rebuild

I’m running KDE on nixos-unstable with the network-manager systray applet.
I used to be able to select from the VPN connections I have there, most of which use openvpn.

But after a rebuild, that functionality is just plain broken:
Trying to connect to one of the VPNs results in a popup notification that “NetworkManager is missing support for ‘openvpn’ VPN connections”.

Ok, so I add the networkmanager-openvpn pkg to the environment.systemPackages attr in my system flake and rebuild.
But even now the problem persists. Add to that the fact that there wasn’t even so much as a migration warning, and the net result is sudden and silent breakage of actually important functionality.

How do I get my OpenVPN connectivity back?

Plugins for NetworkManager are added in networking.networkmanager.plugins, not in environment.systemPackages.

There was a change about 3 weeks ago that changed up how NixOS provides NetworkManager OOTB. In particular, VPN plugins were no longer shipped by default and required manual opt-in.

Announcements about breaking changes are always posted here: Breaking changes announcement for unstable - #85 by hexa. I would encourage you to set your notifications for the aforementioned thread to watching, so that you’re immediately notified of changes to unstable ASAP.

2 Likes

I wasn’t aware that existed. Thanks!