Merge pull request #332806 from isabelroses/fix/wpa_supplicant

This commit is contained in:
Sandro
2024-08-09 18:19:56 +02:00
committed by GitHub

View File

@@ -3,10 +3,6 @@
with lib;
let
package = if cfg.allowAuxiliaryImperativeNetworks
then pkgs.wpa_supplicant_ro_ssids
else pkgs.wpa_supplicant;
cfg = config.networking.wireless;
opt = options.networking.wireless;
@@ -106,7 +102,7 @@ let
wantedBy = [ "multi-user.target" ];
stopIfChanged = false;
path = [ package ];
path = [ pkgs.wpa_supplicant ];
# if `userControl.enable`, the supplicant automatically changes the permissions
# and owning group of the runtime dir; setting `umask` ensures the generated
# config file isn't readable (except to root); see nixpkgs#267693