mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 09:38:07 +08:00
Fix Lenovo Thinkpad T14s not powering off
This commit is contained in:
committed by
mergify[bot]
parent
da0aa7b533
commit
00f9c4bb06
9
lenovo/thinkpad/t14s/amd/gen4/default.nix
Normal file
9
lenovo/thinkpad/t14s/amd/gen4/default.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
];
|
||||||
|
|
||||||
|
# Fix laptop not properly powering off during shutdown.
|
||||||
|
boot.kernelParams = [ "apm=power_off" ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user