|
| 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