add lenovo x250 (#38)
Basically a meta profile that combines thinkpad + intel.
This commit is contained in:
parent
2227f2c67a
commit
a2c6590c3d
|
@ -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>~ |
|
||||
|
|
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