mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
restart networkmanager on suspend resume
This commit is contained in:
parent
447691836a
commit
ec9dc730ec
|
@ -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