diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-06-04 20:34:50 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-06-04 20:34:50 +0200 |
commit | 8e9d8d8b70f2a5515ffa4b2dad18cf5783ab1e4e (patch) | |
tree | c2f70049be19f757f1ae6b2b80c3bfe70a47612c /nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix | |
parent | 240cb27216dbb4203e2d470d78888b5cf82809ac (diff) | |
parent | 467ce5a9f45aaf96110b41eb863a56866e1c2c3c (diff) |
Merge commit '467ce5a9f45aaf96110b41eb863a56866e1c2c3c'
Diffstat (limited to 'nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix b/nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix index de0f11595a9..a7dea95056a 100644 --- a/nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixpkgs/nixos/modules/services/networking/wpa_supplicant.nix @@ -253,12 +253,12 @@ in { }; powerManagement.resumeCommands = '' - ${config.systemd.package}/bin/systemctl try-restart wpa_supplicant + /run/current-system/systemd/bin/systemctl try-restart wpa_supplicant ''; # Restart wpa_supplicant when a wlan device appears or disappears. services.udev.extraRules = '' - ACTION=="add|remove", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", RUN+="${config.systemd.package}/bin/systemctl try-restart wpa_supplicant.service" + ACTION=="add|remove", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", RUN+="/run/current-system/systemd/bin/systemctl try-restart wpa_supplicant.service" ''; }; |