diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-09-27 23:20:08 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-09-27 23:38:03 +0200 |
commit | 725dee203a88f26e38912e73e832caa3ab73447e (patch) | |
tree | 95a242d40fd0324505f9dc10b9be186dbbfe6cdf /nixos | |
parent | 4a2442032ee5bc06f225bd5666b0f6813026b42f (diff) | |
download | nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar.gz nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar.bz2 nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar.lz nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar.xz nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.tar.zst nixpkgs-725dee203a88f26e38912e73e832caa3ab73447e.zip |
wpa_supplicant service: restart instead of stop & start
We now wait for dhcpcd to acquire a lease but dhcpcd is restarted on system activation. As wpa_supplicant is stopped while dhcpcd is restarting a significant delay is introduced on systems with wireless network connections only. This changes the wpa_supplicant service to also be restarted together with dhcpcd in case both services were changed.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/wpa_supplicant.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix index c91ba91fcb4..908c8730ad2 100644 --- a/nixos/modules/services/networking/wpa_supplicant.nix +++ b/nixos/modules/services/networking/wpa_supplicant.nix @@ -148,6 +148,7 @@ in { wants = [ "network.target" ]; requires = lib.concatMap deviceUnit ifaces; wantedBy = [ "multi-user.target" ]; + stopIfChanged = false; path = [ pkgs.wpa_supplicant ]; |