mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 22:19:17 +03:00
restart networkmanager on suspend resume
This commit is contained in:
parent
447691836a
commit
ec9dc730ec
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue