nixpkgs/nixos/modules/tasks
Thomas Strobel c0248c0c1f 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.
2015-10-01 15:35:30 +02:00
..
filesystems Remove zfs-git and spl-git 2015-09-29 14:54:12 +02:00
bcache.nix nixos: move bcache udev rule in a new bcache.nix module 2014-11-10 22:19:43 +01:00
cpu-freq.nix Remove non-cpufreq_* modules since they are loaded by udev. 2014-07-14 02:35:09 +02:00
encrypted-devices.nix encrypted-devices service: Fix keyed mount, clarify descriptions. 2015-09-22 09:49:28 +01:00
filesystems.nix Add filesystem option to automatically grow to the maximum size 2015-09-24 19:59:44 +02:00
kbd.nix Some more type cleanup 2015-06-15 18:18:46 +02:00
lvm.nix Don't enable LVM2 in containers 2014-04-15 23:43:39 +02:00
network-interfaces-scripted.nix nixos networking: add vswitch option 2015-09-25 11:55:27 +02:00
network-interfaces-systemd.nix nixos networking: add vswitch option 2015-09-25 11:55:27 +02:00
network-interfaces.nix networking module: init 'wlanInterfaces' option 2015-10-01 15:35:30 +02:00
scsi-link-power-management.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
swraid.nix nixos: Add boot.initrd.extraUdevRulesCommands 2014-11-10 22:19:43 +01:00
trackpoint.nix Trackpoint scrolling on T450s et al 2015-05-25 20:00:35 +02:00
tty-backgrounds-combine.sh Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00