1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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
commit 03d57d7420
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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