Skip to content

Commit 0413405

Browse files
committed
feat: ✨ add ThinkPad T14 Intel Gen 6 hardware support
Add complete hardware profile for Lenovo ThinkPad T14 Intel Gen 6 with: - Lunar Lake CPU architecture support with modern kernel requirements - Intel Arc graphics integration - Kernel parameters for backlight and touchpad optimization - Fingerprint reader support with comprehensive PAM configuration guidance - Disabled throttled service for modern Intel power management - Updated flake.nix and README.md with new module entries Includes detailed documentation for fingerprint authentication setup with warnings about potential login issues and proper PAM configuration in host systems. Follows CONTRIBUTING.md guidelines for profile structure.
1 parent 26ed7a0 commit 0413405

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
@@ -288,6 +288,7 @@ See code for all available configurations.
288288
| [Lenovo ThinkPad T14 AMD Gen 4](lenovo/thinkpad/t14/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen4>` | `lenovo-thinkpad-t14-amd-gen4` |
289289
| [Lenovo ThinkPad T14 AMD Gen 5](lenovo/thinkpad/t14/amd/gen5) | `<nixos-hardware/lenovo/thinkpad/t14/amd/gen5>` | `lenovo-thinkpad-t14-amd-gen5` |
290290
| [Lenovo ThinkPad T14](lenovo/thinkpad/t14) | `<nixos-hardware/lenovo/thinkpad/t14>` | `lenovo-thinkpad-t14` |
291+
| [Lenovo ThinkPad T14 Intel Gen 6](lenovo/thinkpad/t14/intel/gen6) | `<nixos-hardware/lenovo/thinkpad/t14/intel/gen6>` | `lenovo-thinkpad-t14-intel-gen6` |
291292
| [Lenovo ThinkPad T14s AMD Gen 1](lenovo/thinkpad/t14s/amd/gen1) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` | `lenovo-thinkpad-t14s-amd-gen1` |
292293
| [Lenovo ThinkPad T14s AMD Gen 4](lenovo/thinkpad/t14s/amd/gen4) | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen4>` | `lenovo-thinkpad-t14s-amd-gen4` |
293294
| [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
@@ -223,6 +223,7 @@
223223
lenovo-thinkpad-t14-amd-gen3 = import ./lenovo/thinkpad/t14/amd/gen3;
224224
lenovo-thinkpad-t14-amd-gen4 = import ./lenovo/thinkpad/t14/amd/gen4;
225225
lenovo-thinkpad-t14-amd-gen5 = import ./lenovo/thinkpad/t14/amd/gen5;
226+
lenovo-thinkpad-t14-intel-gen6 = import ./lenovo/thinkpad/t14/intel/gen6;
226227
lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s;
227228
lenovo-thinkpad-t14s-amd-gen1 = import ./lenovo/thinkpad/t14s/amd/gen1;
228229
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)