mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #149 from NixOS/networkmanager_suspend
restart networkmanager on suspend resume
This commit is contained in:
commit
c4ead79dd6
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ in {
|
|||
wireless.enable = false;
|
||||
};
|
||||
|
||||
powerManagement.resumeCommands = ''
|
||||
systemctl restart NetworkManager
|
||||
'';
|
||||
|
||||
security.polkit.permissions = polkitConf;
|
||||
|
||||
services.dbus.packages = cfg.packages;
|
||||
|
|
Loading…
Reference in a new issue