forked from mirrors/nixpkgs
restart networkmanager on suspend resume
This commit is contained in:
parent
447691836a
commit
ec9dc730ec
|
@ -124,6 +124,10 @@ in {
|
||||||
wireless.enable = false;
|
wireless.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
powerManagement.resumeCommands = ''
|
||||||
|
systemctl restart NetworkManager
|
||||||
|
'';
|
||||||
|
|
||||||
security.polkit.permissions = polkitConf;
|
security.polkit.permissions = polkitConf;
|
||||||
|
|
||||||
services.dbus.packages = cfg.packages;
|
services.dbus.packages = cfg.packages;
|
||||||
|
|
Loading…
Reference in a new issue