diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index 4ea68d33416c..b068f2227310 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -517,8 +517,8 @@ in { hardware.wirelessRegulatoryDatabase = true; - environment.systemPackages = [ package ]; - services.dbus.packages = optional cfg.dbusControlled package; + environment.systemPackages = [ pkgs.wpa_supplicant ]; + services.dbus.packages = optional cfg.dbusControlled pkgs.wpa_supplicant; systemd.services = if cfg.interfaces == []