How can I avoid managing wlan0 with Network Manager?

I’ve found this code:

  networking.networkmanager.unmanagedDevices = [ "wlan0" ];

, but it doesn’t seem to be a valid expression.

Is this maybe old and there’s something newer?

Just looked trough my config, i have ...networkmanager.unmanaged = [ "wlan0" ];there

1 Like