1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 18:43:34 +02:00
nixos-hardware/lenovo/thinkpad/x260/default.nix
Alvar Penning de6811f14d lenovo/thinkpad/x260: use services.tlp.settings
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.
2020-10-31 15:59:40 +01:00

13 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";
};
}