1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-25 11:09:44 +01:00
nixos-hardware/apple/macbook-pro/12-1/default.nix

15 lines
346 B
Nix
Raw Normal View History

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