1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 02:23:33 +02:00
nixos-hardware/lenovo/thinkpad/x260/default.nix
Jörg Thalheim 26e9c94511
Merge pull request #204 from oxzi/x260-i915
lenovo/thinkpad/x260: i915.enable_psr=0 parameter
2020-11-03 08:53:36 +01:00

18 lines
372 B
Nix

{
imports = [
../.
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
];
boot.kernelParams = [
# https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X260#Thinkpad_X260
"i915.enable_psr=0"
];
# https://wiki.archlinux.org/index.php/TLP#Btrfs
services.tlp.settings = {
SATA_LINKPWR_ON_BAT = "med_power_with_dipm";
};
}