Skip to content

Commit 232f44c

Browse files
authored
Merge pull request #1572 from bashfulrobot/master
Add ThinkPad T14 Intel Gen 6 support
2 parents c38b907 + 0413405 commit 232f44c

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ See code for all available configurations.
290290
| [Lenovo ThinkPad T14 AMD Gen 4](lenovo/thinkpad/t14/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen4>` | `lenovo-thinkpad-t14-amd-gen4` |
291291
| [Lenovo ThinkPad T14 AMD Gen 5](lenovo/thinkpad/t14/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen5>` | `lenovo-thinkpad-t14-amd-gen5` |
292292
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` | `lenovo-thinkpad-t14` |
293+
| [Lenovo ThinkPad T14 Intel Gen 6](lenovo/thinkpad/t14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen6>` | `lenovo-thinkpad-t14-intel-gen6` |
293294
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | `lenovo-thinkpad-t14s-amd-gen1` |
294295
| [Lenovo ThinkPad T14s AMD Gen 4](lenovo/thinkpad/t14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen4>` | `lenovo-thinkpad-t14s-amd-gen4` |
295296
| [Lenovo ThinkPad T14s](lenovo/thinkpad/t14s) | `<nixos-hardware/lenovo/thinkpad/t14s>` | `lenovo-thinkpad-t14s` |

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
lenovo-thinkpad-t14-amd-gen3 = import ./lenovo/thinkpad/t14/amd/gen3;
227227
lenovo-thinkpad-t14-amd-gen4 = import ./lenovo/thinkpad/t14/amd/gen4;
228228
lenovo-thinkpad-t14-amd-gen5 = import ./lenovo/thinkpad/t14/amd/gen5;
229+
lenovo-thinkpad-t14-intel-gen6 = import ./lenovo/thinkpad/t14/intel/gen6;
229230
lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s;
230231
lenovo-thinkpad-t14s-amd-gen1 = import ./lenovo/thinkpad/t14s/amd/gen1;
231232
lenovo-thinkpad-t14s-amd-gen4 = import ./lenovo/thinkpad/t14s/amd/gen4;

lenovo/thinkpad/t14/intel/default.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{ lib, pkgs, ... }:
2+
3+
{
4+
imports = [
5+
../.
6+
../../../../common/cpu/intel
7+
../../../../common/gpu/intel
8+
];
9+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
lib,
3+
pkgs,
4+
config,
5+
...
6+
}:
7+
8+
{
9+
imports = [
10+
../../.
11+
../../../../../common/cpu/intel/lunar-lake
12+
];
13+
14+
# T14 Gen 6 uses Intel Core Ultra processors (Lunar Lake architecture)
15+
# with integrated Intel Arc graphics
16+
# The lunar-lake module already includes appropriate GPU support
17+
18+
# Ensure modern kernel for full Lunar Lake support
19+
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.8") pkgs.linuxPackages_latest;
20+
21+
# TODO: Looking for feedback on these kernel parameters for T14 Gen 6
22+
# Force use of the thinkpad_acpi driver for backlight control
23+
# This allows the backlight save/load systemd service to work
24+
boot.kernelParams = [
25+
"acpi_backlight=native"
26+
# TODO: Looking for feedback - touchpad fix needed for proper click registration on some T14 models
27+
"psmouse.synaptics_intertouch=0"
28+
];
29+
30+
# TODO: Looking for feedback - modern Intel CPUs don't typically need throttled service
31+
# which can interfere with newer power management on Lunar Lake
32+
services.throttled.enable = lib.mkDefault false;
33+
34+
# Enable fingerprint reader support
35+
# NOTE: PAM configuration should be done in host config to avoid login issues
36+
# See: https://github.com/NixOS/nixpkgs/issues/171136
37+
services.fprintd.enable = lib.mkDefault true;
38+
39+
# For complete fingerprint authentication in GNOME, add the following to your host config:
40+
#
41+
# security.pam.services = {
42+
# # Enable fingerprint authentication for sudo
43+
# sudo.fprintAuth = lib.mkDefault true;
44+
#
45+
# # Enable fingerprint authentication for su
46+
# su.fprintAuth = lib.mkDefault true;
47+
#
48+
# # Enable fingerprint authentication for screen unlock
49+
# xscreensaver.fprintAuth = lib.mkDefault true;
50+
#
51+
# # WARNING: login.fprintAuth may break GDM password authentication
52+
# # Only enable if you understand the risks:
53+
# # login.fprintAuth = lib.mkDefault true;
54+
# };
55+
#
56+
# After configuration:
57+
# 1. Rebuild your system
58+
# 2. Enroll fingerprint: sudo fprintd-enroll $USER
59+
# 3. Test sudo and screen unlock with fingerprint
60+
}

0 commit comments

Comments
 (0)