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:
commit
03d57d7420
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue