mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 18:19:44 +01:00
add lenovo x250 (#38)
Basically a meta profile that combines thinkpad + intel.
This commit is contained in:
parent
2227f2c67a
commit
a2c6590c3d
2 changed files with 16 additions and 0 deletions
|
@ -30,6 +30,7 @@ should look like:
|
||||||
| Lenovo ThinkPad T460s | ~<nixos-hardware/lenovo/thinkpad/t460s>~ |
|
| Lenovo ThinkPad T460s | ~<nixos-hardware/lenovo/thinkpad/t460s>~ |
|
||||||
| Lenovo ThinkPad X140e | ~<nixos-hardware/lenovo/thinkpad/x140e>~ |
|
| Lenovo ThinkPad X140e | ~<nixos-hardware/lenovo/thinkpad/x140e>~ |
|
||||||
| Lenovo ThinkPad X220 | ~<nixos-hardware/lenovo/thinkpad/x220>~ |
|
| Lenovo ThinkPad X220 | ~<nixos-hardware/lenovo/thinkpad/x220>~ |
|
||||||
|
| Lenovo ThinkPad X250 | ~<nixos-hardware/lenovo/thinkpad/x250>~ |
|
||||||
| Microsoft Surface Pro 3 | ~<nixos-hardware/microsoft/surface-pro/3>~ |
|
| Microsoft Surface Pro 3 | ~<nixos-hardware/microsoft/surface-pro/3>~ |
|
||||||
| Raspberry Pi 2 | ~<nixos-hardware/raspberry-pi/2>~ |
|
| Raspberry Pi 2 | ~<nixos-hardware/raspberry-pi/2>~ |
|
||||||
| Samsung Series 9 NP900X3C | ~<nixos-hardware/samsung/np900x3c>~ |
|
| Samsung Series 9 NP900X3C | ~<nixos-hardware/samsung/np900x3c>~ |
|
||||||
|
|
15
lenovo/thinkpad/x250/default.nix
Normal file
15
lenovo/thinkpad/x250/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../common/cpu/intel
|
||||||
|
];
|
||||||
|
|
||||||
|
# Thinkfan is enabled by thinkpad profile.
|
||||||
|
# However it requires to set a different `sensor` for this hardware, since there is no /proc/acpi/ibm/thermal
|
||||||
|
# Regulation also works fine without thinkfan daemon though.
|
||||||
|
services.thinkfan.enable = lib.mkOverride 900 false;
|
||||||
|
|
||||||
|
# maintainers: Mic92
|
||||||
|
}
|
Loading…
Reference in a new issue