Skip to content

Commit

Permalink
add lenovo x250 (#38)
Browse files Browse the repository at this point in the history
Basically a meta profile that combines thinkpad + intel.
  • Loading branch information
Mic92 authored and zimbatm committed Dec 25, 2017
1 parent 2227f2c commit a2c6590
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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>~ |
Expand Down
15 changes: 15 additions & 0 deletions lenovo/thinkpad/x250/default.nix
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit a2c6590

Please sign in to comment.