mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-01 08:39:41 +01:00
34c1bf11bb
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
15 lines
427 B
Markdown
15 lines
427 B
Markdown
# MacBook Pro 12,1
|
|
|
|
## Wireless won't get reconnected after resume/hibernate
|
|
|
|
The wifi driver is unloaded before suspend/hibernate to workaround driver issues.
|
|
This means it might be required to restart your wifi deamon i.e. wpa_supplicant:
|
|
|
|
```nix
|
|
powerManagement.powerUpCommands = ''
|
|
${pkgs.systemd}/bin/systemctl restart wpa_supplicant.service
|
|
'';
|
|
};
|
|
```
|
|
|
|
You can apply this to your network management software of choice.
|