Add L13 Yoga

This commit is contained in:
Your Name 2021-06-30 16:18:18 +02:00
parent 03c60a2db2
commit 49cb5fb3d3
3 changed files with 17 additions and 0 deletions

View file

@ -102,6 +102,7 @@ See code for all available configurations.
| Lenovo ThinkPad E470 | `<nixos-hardware/lenovo/thinkpad/e470>` | | Lenovo ThinkPad E470 | `<nixos-hardware/lenovo/thinkpad/e470>` |
| Lenovo ThinkPad E495 | `<nixos-hardware/lenovo/thinkpad/e495>` | | Lenovo ThinkPad E495 | `<nixos-hardware/lenovo/thinkpad/e495>` |
| Lenovo ThinkPad L13 | `<nixos-hardware/lenovo/thinkpad/l13>` | | 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 (Intel) | `<nixos-hardware/lenovo/thinkpad/l14/intel> |
| Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> | | Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> |
| Lenovo ThinkPad P1 | `<nixos-hardware/lenovo/thinkpad/p1>` | | Lenovo ThinkPad P1 | `<nixos-hardware/lenovo/thinkpad/p1>` |

View file

@ -37,6 +37,7 @@
lenovo-thinkpad-e470 = import ./lenovo/thinkpad/e470; lenovo-thinkpad-e470 = import ./lenovo/thinkpad/e470;
lenovo-thinkpad-e495 = import ./lenovo/thinkpad/e495; lenovo-thinkpad-e495 = import ./lenovo/thinkpad/e495;
lenovo-thinkpad-l13 = import ./lenovo/thinkpad/l13; 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-intel = import ./lenovo/thinkpad/l14/intel;
lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd; lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd;
lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1; lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1;

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