+67
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
+67
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
···+<link xlink:href="options.html#opt-networking.wireless.environmentFile">environmentFile</link>+<link xlink:href="options.html#opt-networking.wireless.scanOnLowSignal">scanOnLowSignal</link>+<link xlink:href="options.html#opt-networking.wireless.networks._name_.authProtocols">networks.<name>.authProtocols</link><link xlink:href="options.html#opt-networking.wireless.iwd.enable">networking.wireless.iwd</link>
+10
nixos/doc/manual/release-notes/rl-2111.section.md
+10
nixos/doc/manual/release-notes/rl-2111.section.md
···+- The [networking.wireless](options.html#opt-networking.wireless.enable) module (based on wpa_supplicant) has been heavily reworked, solving a number of issues and adding useful features:+- The automatic discovery of wireless interfaces at boot has been made reliable again (issues [#101963](https://github.com/NixOS/nixpkgs/issues/101963), [#23196](https://github.com/NixOS/nixpkgs/issues/23196)).+- Secrets like pre-shared keys and passwords can now be handled safely, meaning without including them in a world-readable file (`wpa_supplicant.conf` under /nix/store).+This is achieved by storing the secrets in a secured [environmentFile](options.html#opt-networking.wireless.environmentFile) and referring to them though environment variables that are expanded inside the configuration.+- With multiple interfaces declared, independent wpa_supplicant daemons are started, one for each interface (the services are named `wpa_supplicant-wlan0`, `wpa_supplicant-wlan1`, etc.).+- A new [scanOnLowSignal](options.html#opt-networking.wireless.scanOnLowSignal) option has been added to facilitate fast roaming between access points (enabled by default).+- A new [networks.<name>.authProtocols](options.html#opt-networking.wireless.networks._name_.authProtocols) option has been added to change the authentication protocols used when connecting to a network.- The [networking.wireless.iwd](options.html#opt-networking.wireless.iwd.enable) module has a new [networking.wireless.iwd.settings](options.html#opt-networking.wireless.iwd.settings) option.- The [services.syncoid.enable](options.html#opt-services.syncoid.enable) module now properly drops ZFS permissions after usage. Before it delegated permissions to whole pools instead of datasets and didn't clean up after execution. You can manually look this up for your pools by running `zfs allow your-pool-name` and use `zfs unallow syncoid your-pool-name` to clean this up.
+96
-14
nixos/modules/services/networking/wpa_supplicant.nix
+96
-14
nixos/modules/services/networking/wpa_supplicant.nix
······deviceUnit = optional (iface != null) "sys-subsystem-net-devices-${utils.escapeSystemdPath iface}.device";description = "WPA Supplicant instance" + optionalString (iface != null) " for interface ${iface}";···-echo >&2 "<3>/etc/wpa_supplicant.conf present but ignored. Generated ${configFile} is used instead."+echo >&2 "<3>/etc/wpa_supplicant.conf present but ignored. Generated ${configFile} is used instead."··················
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+81
nixos/tests/wpa_supplicant.nix
+81
nixos/tests/wpa_supplicant.nix
···
+5
pkgs/os-specific/linux/wpa_supplicant/default.nix
+5
pkgs/os-specific/linux/wpa_supplicant/default.nix
······install -Dm444 wpa_supplicant.conf $out/share/doc/wpa_supplicant/wpa_supplicant.conf.example