Merge pull request #332806 from isabelroses/fix/wpa_supplicant
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user