mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
Merge pull request #70 from rvolosatovs/feature/x260
lenovo/thinkpad/x260: Init
This commit is contained in:
commit
7fbb7d50a6
3 changed files with 15 additions and 0 deletions
|
@ -40,6 +40,7 @@ imports = [
|
||||||
| Lenovo ThinkPad X220 | `<nixos-hardware/lenovo/thinkpad/x220>` |
|
| Lenovo ThinkPad X220 | `<nixos-hardware/lenovo/thinkpad/x220>` |
|
||||||
| Lenovo ThinkPad X230 | `<nixos-hardware/lenovo/thinkpad/x230>` |
|
| Lenovo ThinkPad X230 | `<nixos-hardware/lenovo/thinkpad/x230>` |
|
||||||
| Lenovo ThinkPad X250 | `<nixos-hardware/lenovo/thinkpad/x250>` |
|
| Lenovo ThinkPad X250 | `<nixos-hardware/lenovo/thinkpad/x250>` |
|
||||||
|
| [Lenovo ThinkPad X260][] | `<nixos-hardware/lenovo/thinkpad/x260>` |
|
||||||
| Lenovo ThinkPad X270 | `<nixos-hardware/lenovo/thinkpad/x270>` |
|
| Lenovo ThinkPad X270 | `<nixos-hardware/lenovo/thinkpad/x270>` |
|
||||||
| [Lenovo ThinkPad X1 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>`|
|
| [Lenovo ThinkPad X1 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>`|
|
||||||
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` |
|
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` |
|
||||||
|
@ -56,6 +57,7 @@ imports = [
|
||||||
[Dell XPS 15 9550]: dell/xps/15-9550
|
[Dell XPS 15 9550]: dell/xps/15-9550
|
||||||
[Inverse Path USB armory]: inversepath/usbarmory
|
[Inverse Path USB armory]: inversepath/usbarmory
|
||||||
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
|
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
|
||||||
|
[Lenovo ThinkPad X260]: lenovo/thinkpad/x260
|
||||||
[Microsoft Surface Pro 3]: microsoft/surface-pro/3
|
[Microsoft Surface Pro 3]: microsoft/surface-pro/3
|
||||||
[Raspberry Pi 2]: raspberry-pi/2
|
[Raspberry Pi 2]: raspberry-pi/2
|
||||||
[Samsung Series 9 NP900X3C]: samsung/np900x3c
|
[Samsung Series 9 NP900X3C]: samsung/np900x3c
|
||||||
|
|
|
@ -40,6 +40,7 @@ in
|
||||||
lenovo-thinkpad-x220 = buildProfile ./lenovo/thinkpad/x220;
|
lenovo-thinkpad-x220 = buildProfile ./lenovo/thinkpad/x220;
|
||||||
lenovo-thinkpad-x230 = buildProfile ./lenovo/thinkpad/x230;
|
lenovo-thinkpad-x230 = buildProfile ./lenovo/thinkpad/x230;
|
||||||
lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250;
|
lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250;
|
||||||
|
lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260;
|
||||||
|
|
||||||
microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3;
|
microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3;
|
||||||
|
|
||||||
|
|
12
lenovo/thinkpad/x260/default.nix
Normal file
12
lenovo/thinkpad/x260/default.nix
Normal file
|
@ -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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue