21 lines
428 B
Nix
21 lines
428 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./misc/battery-power.nix
|
|
./misc/power-button.nix
|
|
./misc/cpu-thermal.nix
|
|
./misc/tzupdate.nix
|
|
./core/hibernation.nix
|
|
./core/firmware.nix
|
|
./core/igpu.nix
|
|
./core/tpm.nix
|
|
];
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages;
|
|
kernel.sysctl."vm.laptop_mode" = 5;
|
|
initrd.availableKernelModules = [ "thinkpad_acpi" ];
|
|
};
|
|
}
|