2017-12-24 12:16:10 +00:00
|
|
|
{ lib, ... }:
|
2017-09-24 14:19:52 +00:00
|
|
|
|
2017-12-24 12:16:10 +00:00
|
|
|
{
|
|
|
|
imports = [
|
2017-12-24 23:21:05 +00:00
|
|
|
../.
|
|
|
|
../../../common/pc/laptop/ssd
|
2017-12-24 12:16:10 +00:00
|
|
|
<nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix>
|
|
|
|
];
|
2017-09-24 14:19:52 +00:00
|
|
|
|
2017-12-24 12:16:10 +00:00
|
|
|
# USB subsystem wakes up MBP right after suspend unless we disable it.
|
|
|
|
services.udev.extraRules = lib.mkDefault ''
|
2017-09-24 14:19:52 +00:00
|
|
|
SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"
|
|
|
|
'';
|
|
|
|
}
|