diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2017-12-01 14:58:06 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2017-12-10 00:19:15 +0100 |
commit | 104de603cba1b499984ec268bb782c7147e91d7a (patch) | |
tree | 904da9a571078d5915319bd3446264641b02dcb7 /nixos/modules/services/networking | |
parent | b687ffa0d246b913699b8e2b2f0e1ffb370ada17 (diff) | |
download | nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar.gz nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar.bz2 nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar.lz nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar.xz nixlib-104de603cba1b499984ec268bb782c7147e91d7a.tar.zst nixlib-104de603cba1b499984ec268bb782c7147e91d7a.zip |
networkmanager: remove restart after suspend from resume
In commit ec9dc73 restarting NetworkManager after resume from suspend/hibernate was introduced. When I initially switch to NixOS I started noticing a high delay between wakeup and re-connecting to WiFi & wired networks. The delay increased from a few seconds (on my previous distro, same software stack) to almost half a minute with NixOS. I (locally) applied the change in this commit a few weeks ago and tested since then. The notebook/mobile device experience has improved a lot. Reconnects are as before switching to NixOS. Issue #24401 could be related to this. Since I am not using KDE/plasma5 I can only guess…
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/networkmanager.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix index 6bdae32f72bb..d9ac4b0f274e 100644 --- a/nixos/modules/services/networking/networkmanager.nix +++ b/nixos/modules/services/networking/networkmanager.nix @@ -333,10 +333,6 @@ in { wireless.enable = lib.mkDefault false; }; - powerManagement.resumeCommands = '' - ${config.systemd.package}/bin/systemctl restart network-manager - ''; - security.polkit.extraConfig = polkitConf; services.dbus.packages = cfg.packages; |