Add L13 Yoga
This commit is contained in:
parent
03c60a2db2
commit
49cb5fb3d3
|
@ -102,6 +102,7 @@ See code for all available configurations.
|
|||
| Lenovo ThinkPad E470 | `<nixos-hardware/lenovo/thinkpad/e470>` |
|
||||
| Lenovo ThinkPad E495 | `<nixos-hardware/lenovo/thinkpad/e495>` |
|
||||
| Lenovo ThinkPad L13 | `<nixos-hardware/lenovo/thinkpad/l13>` |
|
||||
| Lenovo ThinkPad L13 Yoga | `<nixos-hardware/lenovo/thinkpad/l13-yoga>` |
|
||||
| Lenovo ThinkPad L14 (Intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel> |
|
||||
| Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> |
|
||||
| Lenovo ThinkPad P1 | `<nixos-hardware/lenovo/thinkpad/p1>` |
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
lenovo-thinkpad-e470 = import ./lenovo/thinkpad/e470;
|
||||
lenovo-thinkpad-e495 = import ./lenovo/thinkpad/e495;
|
||||
lenovo-thinkpad-l13 = import ./lenovo/thinkpad/l13;
|
||||
lenovo-thinkpad-l13-yoga = import ./lenovo/thinkpad/l13-yoga;
|
||||
lenovo-thinkpad-l14-intel = import ./lenovo/thinkpad/l14/intel;
|
||||
lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd;
|
||||
lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1;
|
||||
|
|
15
lenovo/thinkpad/l13-yoga/default.nix
Normal file
15
lenovo/thinkpad/l13-yoga/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ nixos, lib, pkgs, config, stdenv, ... }:
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/acpi_call.nix
|
||||
];
|
||||
|
||||
services.throttled.enable = lib.mkDefault true;
|
||||
|
||||
# automatic screen orientation
|
||||
hardware.sensor.iio.enable = true;
|
||||
|
||||
services.xserver.wacom.enable = lib.mkDefault config.services.xserver.enable;
|
||||
}
|
Loading…
Reference in a new issue