summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-02-09 09:09:19 +0000
committerGitHub <noreply@github.com>2020-02-09 09:09:19 +0000
commit6f502bc6e62ef8519be4a5ff37b03d8ca5007dce (patch)
tree96d32041ddf6188393db0b6bf0bcca686517953c
parent67814a0d5c252ca4da77086801bfc30ce8064252 (diff)
parentc30e20594b35d610e1409fe3c60dd1193ad40767 (diff)
Merge pull request #138 from rummik/add-lenovo-thinkpad-l13
Add Lenovo ThinkPad L13 profile
-rw-r--r--README.md1
-rw-r--r--lenovo/thinkpad/l13/default.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index b7eeae0..7d79785 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@ See code for all available configurations.
| [Dell XPS 15 9550][] | `<nixos-hardware/dell/xps/15-9550>` |
| [Inverse Path USB armory][] | `<nixos-hardware/inversepath/usbarmory>` |
| Lenovo IdeaPad Z510 | `<nixos-hardware/lenovo/ideapad/z510>` |
+| Lenovo ThinkPad L13 | `<nixos-hardware/lenovo/thinkpad/l13>` |
| Lenovo ThinkPad P53 | `<nixos-hardware/lenovo/thinkpad/p53>` |
| Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` |
| Lenovo ThinkPad T420 | `<nixos-hardware/lenovo/thinkpad/t420>` |
diff --git a/lenovo/thinkpad/l13/default.nix b/lenovo/thinkpad/l13/default.nix
new file mode 100644
index 0000000..3c09f50
--- /dev/null
+++ b/lenovo/thinkpad/l13/default.nix
@@ -0,0 +1,10 @@
+{ nixos, lib, pkgs, config, stdenv, ... }:
+{
+ imports = [
+ ../../../common/cpu/intel
+ ../../../common/pc/laptop/acpi_call.nix
+ ../.
+ ];
+
+ services.throttled.enable = lib.mkDefault true;
+}