mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-19 17:39:42 +01:00
b1304963c8
I've tested this to work on MacBookAir4,1 and I'm going to deploy it to MacBookAir6,2 today and Lenovo ThinkPad X230 in a week from now. Also, cleaned up Lenovo ThinkPad X230 profile.
18 lines
255 B
Nix
18 lines
255 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
../../../common/cpu/intel
|
|
];
|
|
|
|
boot = {
|
|
extraModulePackages = with config.boot.kernelPackages; [
|
|
acpi_call
|
|
];
|
|
kernelModules = [
|
|
"acpi_call"
|
|
"tpm-rng"
|
|
];
|
|
};
|
|
}
|