add lenovo x250 (#38)

Basically a meta profile that combines thinkpad + intel.
This commit is contained in:
Jörg Thalheim 2017-12-25 14:15:16 +01:00 committed by zimbatm
parent 2227f2c67a
commit a2c6590c3d
2 changed files with 16 additions and 0 deletions

View file

@ -30,6 +30,7 @@ should look like:
| Lenovo ThinkPad T460s | ~<nixos-hardware/lenovo/thinkpad/t460s>~ |
| Lenovo ThinkPad X140e | ~<nixos-hardware/lenovo/thinkpad/x140e>~ |
| 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>~ |
| Raspberry Pi 2 | ~<nixos-hardware/raspberry-pi/2>~ |
| Samsung Series 9 NP900X3C | ~<nixos-hardware/samsung/np900x3c>~ |

View 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
}