Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: c0248c0c1f46f42ed736386e0d0ee67da5b329a6
https://github.com/NixOS/nixpkgs/commit/c0248c0c1f46f42ed736386e0d0ee67da5b329a6
Author: Thomas Strobel <[email protected]>
Date: 2015-10-01 (Thu, 01 Oct 2015)
Changed paths:
M nixos/modules/tasks/network-interfaces.nix
Log Message:
-----------
networking module: init 'wlanInterfaces' option
Configuration option for setting up virtual WLAN interfaces.
If the hardware NIC supports it, then multiple virtual WLAN interfaces can be
configured through the options of the new 'networking.wlanInterfaces' module.
For example, the following configuration transforms the device with the
persistent
udev name 'wlp6s0' into a managed and a ad hoc device with the device names
'wlan-managed0' and 'wlan-adhoc0', respectively:
networking.wlanInterfaces = {
"wlan-managed0" = {
type = "managed";
device = "wlp6s0";
};
"wlan-adhoc0" = {
type = "ibss";
device = "wlp6s0";
};
};
Internally, a udev rule is created that matches wlp6s0 and runs a script which
adds
the missing virtual interfaces and re-configures the wlp6s0 interface
accordingly.
Once the new interfaces are created by the Linux kernel, the configuration of
the
interfaces is managed by udev and systemd in the usual way.
Commit: 922d3ec839ef24bea419dc9350b860830c0b46f5
https://github.com/NixOS/nixpkgs/commit/922d3ec839ef24bea419dc9350b860830c0b46f5
Author: ts468 <[email protected]>
Date: 2015-10-01 (Thu, 01 Oct 2015)
Changed paths:
M nixos/modules/tasks/network-interfaces.nix
Log Message:
-----------
Merge pull request #10121 from ts468/upstream.wlan
networking module: init 'wlanInterfaces' option
Compare: https://github.com/NixOS/nixpkgs/compare/e0d5b14ce412...922d3ec839ef_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits