From a2c6590c3d07aaeda835bf2e23964a4f116e9407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 25 Dec 2017 14:15:16 +0100 Subject: [PATCH] add lenovo x250 (#38) Basically a meta profile that combines thinkpad + intel. --- README.org | 1 + lenovo/thinkpad/x250/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 lenovo/thinkpad/x250/default.nix diff --git a/README.org b/README.org index f08f032..b812182 100644 --- a/README.org +++ b/README.org @@ -30,6 +30,7 @@ should look like: | Lenovo ThinkPad T460s | ~~ | | Lenovo ThinkPad X140e | ~~ | | Lenovo ThinkPad X220 | ~~ | +| Lenovo ThinkPad X250 | ~~ | | Microsoft Surface Pro 3 | ~~ | | Raspberry Pi 2 | ~~ | | Samsung Series 9 NP900X3C | ~~ | diff --git a/lenovo/thinkpad/x250/default.nix b/lenovo/thinkpad/x250/default.nix new file mode 100644 index 0000000..36a1a8e --- /dev/null +++ b/lenovo/thinkpad/x250/default.nix @@ -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 +}