Skip to content

Add lenovo-thinkpad-t14-amd-gen6#1748

Open
Seercat3160 wants to merge 1 commit intoNixOS:masterfrom
Seercat3160:seercat/t14gen6
Open

Add lenovo-thinkpad-t14-amd-gen6#1748
Seercat3160 wants to merge 1 commit intoNixOS:masterfrom
Seercat3160:seercat/t14gen6

Conversation

@Seercat3160
Copy link

Description of changes

Add configuration for the Lenovo ThinkPad T14 AMD Gen 6, based on that of the Gen 5.

This device uses the mt7925 wireless adapter, so I've imported the relevant common module. My own experience suggests that importing the iwd module from that section makes matters worse, so I have not used that.

The acpi.ec_no_wakeup=1 kernel param needed for gen5 no longer seems relevant as far as I can tell.

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input
Additional notes

Closes #1742

@xnov22
Copy link

xnov22 commented Jan 28, 2026

Is power_save real mt7925e option? It produces warning:

mt7925e: unknown parameter 'power_save' ignored

and driver doesn't know it:

$ modinfo mt7925e | grep '^parm:'
parm:           disable_aspm:disable PCI ASPM support (bool)

@Seercat3160
Copy link
Author

Hmm, so it does.

@AdrielVelazquez: you introduced that code in 64e8049. Where did you get the power_save parameter for mt7925e from?

@AdrielVelazquez
Copy link
Contributor

iwd is working for me, but it's only after triggering airplane mode (1 time)


❯ systemctl status iwd

● iwd.service - Wireless service
     Loaded: loaded (/etc/systemd/system/iwd.service; enabled; preset: ignored)
    Drop-In: /nix/store/kzvikf8i5awm702yzpdcw98q0sksfmg7-system-units/iwd.service.d
             └─overrides.conf
     Active: active (running) since Sun 2026-01-25 21:14:52 EST; 2 days ago
 Invocation: 6817cd4dcb284f69b36ff97938b24af9
       Docs: man:iwd(8)
             man:iwd.config(5)
             man:iwd.network(5)
             man:iwd.ap(5)
   Main PID: 144522 (iwd)
         IP: 0B in, 0B out
         IO: 0B read, 28K written
      Tasks: 1 (limit: 76027)
     Memory: 716K (peak: 2.4M)
        CPU: 487ms
     CGroup: /system.slice/iwd.service
             └─144522 /nix/store/340kmi9z9apng7br3dlmiqbncfd5ih3d-iwd-3.10/libexec/iwd
             

Powersave option was probably me throwing everything at the wall to stabilize the system

And I also get that it's not an option

❯ journalctl | grep power_save                      
Jan 08 18:23:50 razer14 kernel: mt7925e: unknown parameter 'power_save' ignored

This is how I personally use IWD

    networking.networkmanager.wifi = {
      powersave = false;
      scanRandMacAddress = false;
      backend = lib.mkIf cfg.useIwd "iwd";
    };

    networking.wireless.iwd = lib.mkIf cfg.useIwd {
      settings = {
        General = {
          AddressRandomization = "network";
          EnableNetworkConfiguration = false;
        };
        Settings = {
          AutoConnect = true;
        };
      };
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Lenovo Thinkpad T14 AMD Gen 6

3 participants