3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config nixos/fonts: Add unifont to list of default fonts. 2015-09-26 21:04:15 +02:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer Merge pull request #10160 from dezgeg/pr-unset-build-hook-in-nixos-install 2015-09-30 23:33:07 +02:00
misc xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs Manual: Remove store path references 2015-09-24 11:50:58 +02:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services opentsdb nixos module: Add option for defining OpenTSDB's configuration 2015-09-30 18:31:27 +02:00
system Merge pull request #10076 from ts468/upstream.systemd 2015-09-30 15:12:43 +02:00
tasks networking module: init 'wlanInterfaces' option 2015-10-01 15:35:30 +02:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation Blacklist the xen_fbfront kernel module 2015-09-28 22:15:47 +02:00
module-list.nix xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
rename.nix nixos: give users of 'services.openvpn.enable' a nice warning message 2015-09-10 11:38:43 +02:00