From 78a5508605c059e03945a6f15e53caecb77974fa Mon Sep 17 00:00:00 2001 From: isabel Date: Tue, 6 Aug 2024 20:33:23 +0100 Subject: [PATCH] nixos/wpa_supplicant: don't use removed wpa_supplicant_ro_ssids --- nixos/modules/services/networking/wpa_supplicant.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index 435cd530c18d..2651c4b19722 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -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