nixos/wpa_supplicant: don't use removed wpa_supplicant_ro_ssids

This commit is contained in:
isabel 2024-08-06 20:33:23 +01:00
parent 1eddda1e53
commit 78a5508605
No known key found for this signature in database
GPG Key ID: 7F2F6BD6997FCDF7

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