[Nix-dev] networking.wlanInterfaces issues

Tomas Hlavaty tom at logand.com
Sun May 28 09:43:00 CEST 2017


Kirill Elagin <kirelagin at gmail.com> writes:
> This should help: https://github.com/NixOS/nixpkgs/pull/26170.

Thank you for the quick fix.  Would it be possible to have this also on
17.03?

> https://github.com/NixOS/nixpkgs/blob/953616907493c5b81ba3ec9dd86f1422f4d1fcd3/nixos/modules/tasks/network-interfaces.nix#L816
>
> Your wireless card is a “physical” device, on top of it you can create a
> number of “virtual” interfaces (e.g. `wlan0`). The `device` attribute
> inside `wlanInterfaces` refers to this physical device, not virtual
> interface (you need something along the lines of `iw phy`, I can’t remember
> exactly, I’m sorry).

I read the docstring but it didn't work as expected.  I also tried phy0
but it did not work either.  Maybe your fix will help.


More information about the nix-dev mailing list