1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 03:59:45 +01:00
nixos-hardware/lenovo/thinkpad/p1/default.nix
Jörg Thalheim c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00

18 lines
605 B
Nix

{
imports = [
../../../common/cpu/intel
# might need nvidia module but we don't know the PCI ids:
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
#../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop/ssd
];
# Need to set Thunderbolt to "BIOS Assist Mode"
# https://forums.lenovo.com/t5/Other-Linux-Discussions/T480-CPU-temperature-and-fan-speed-under-linux/m-p/4114832
boot.kernelParams = [ "acpi_backlight=native" ];
# Emulate mouse wheel on trackpoint
# hardware.trackpoint.emulateWheel = true;
services.fprintd.enable = true;
}