mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-18 08:59:41 +01:00
de6811f14d
With switching from NixOS 20.03 to 20.09, the services.tlp.extraConfig option became deprecated and was replaced by services.tlp.settings. The ThinkPad X260 is only device within nixos-hardware which makes use of this configuration.
12 lines
240 B
Nix
12 lines
240 B
Nix
{
|
|
imports = [
|
|
../.
|
|
../../../common/cpu/intel
|
|
../../../common/pc/laptop/acpi_call.nix
|
|
];
|
|
|
|
# https://wiki.archlinux.org/index.php/TLP#Btrfs
|
|
services.tlp.settings = {
|
|
SATA_LINKPWR_ON_BAT = "med_power_with_dipm";
|
|
};
|
|
}
|