mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
Add lenovo-thinkpad-p1 (#266)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
d38958a6aa
commit
b2186d6c3c
6 changed files with 50 additions and 0 deletions
17
lenovo/thinkpad/p1/default.nix
Normal file
17
lenovo/thinkpad/p1/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
imports = [
|
||||
../../../common/cpu/intel
|
||||
../../../common/gpu/nvidia.nix
|
||||
../../../common/pc/laptop/acpi_call.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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue