diff --git a/README.md b/README.md index 20c7a60..f8f2f91 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ imports = [ | Lenovo ThinkPad X220 | `` | | Lenovo ThinkPad X230 | `` | | Lenovo ThinkPad X250 | `` | +| [Lenovo ThinkPad X260][] | `` | | Lenovo ThinkPad X270 | `` | | [Lenovo ThinkPad X1 (6th Gen)][] | ``| | [Microsoft Surface Pro 3][] | `` | @@ -56,6 +57,7 @@ imports = [ [Dell XPS 15 9550]: dell/xps/15-9550 [Inverse Path USB armory]: inversepath/usbarmory [Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen +[Lenovo ThinkPad X260]: lenovo/thinkpad/x260 [Microsoft Surface Pro 3]: microsoft/surface-pro/3 [Raspberry Pi 2]: raspberry-pi/2 [Samsung Series 9 NP900X3C]: samsung/np900x3c diff --git a/default.nix b/default.nix index 17612ce..cf01355 100644 --- a/default.nix +++ b/default.nix @@ -40,6 +40,7 @@ in lenovo-thinkpad-x220 = buildProfile ./lenovo/thinkpad/x220; lenovo-thinkpad-x230 = buildProfile ./lenovo/thinkpad/x230; lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250; + lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260; microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3; diff --git a/lenovo/thinkpad/x260/default.nix b/lenovo/thinkpad/x260/default.nix new file mode 100644 index 0000000..46530ee --- /dev/null +++ b/lenovo/thinkpad/x260/default.nix @@ -0,0 +1,12 @@ +{ + imports = [ + ../. + ../acpi_call.nix + ../../../common/cpu/intel + ]; + + # https://wiki.archlinux.org/index.php/TLP#Btrfs + services.tlp.extraConfig = '' + SATA_LINKPWR_ON_BAT=med_power_with_dipm + ''; +}