about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-02-12 10:06:38 +0000
committerGitHub <noreply@github.com>2020-02-12 10:06:38 +0000
commit859cd11263fc9b09b94284080e90bbc673317a89 (patch)
tree8138c3290aef79088bda00d2f3f8044d7f6edce4
parent6f502bc6e62ef8519be4a5ff37b03d8ca5007dce (diff)
parent6c7550d0b40932c9263960ff07d60318bbd59a65 (diff)
downloadnixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar.gz
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar.bz2
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar.lz
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar.xz
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.tar.zst
nixlib-859cd11263fc9b09b94284080e90bbc673317a89.zip
Merge pull request #144 from Luis-Hebendanz/master
Added profile for issues 69289
-rw-r--r--README.md1
-rw-r--r--lenovo/thinkpad/e495/default.nix11
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7d79785fc42f..68ba99aac4ec 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 E495              | `<nixos-hardware/lenovo/thinkpad/e495>`            |
 | Lenovo ThinkPad L13               | `<nixos-hardware/lenovo/thinkpad/l13>`             |
 | Lenovo ThinkPad P53               | `<nixos-hardware/lenovo/thinkpad/p53>`             |
 | Lenovo ThinkPad T410              | `<nixos-hardware/lenovo/thinkpad/t410>`            |
diff --git a/lenovo/thinkpad/e495/default.nix b/lenovo/thinkpad/e495/default.nix
new file mode 100644
index 000000000000..5c78d99374d3
--- /dev/null
+++ b/lenovo/thinkpad/e495/default.nix
@@ -0,0 +1,11 @@
+{ config, lib, pkgs, ... }:
+
+{
+  imports = [
+    ../.
+    ../../../common/cpu/amd
+  ];
+
+  # see https://github.com/NixOS/nixpkgs/issues/69289
+  boot.kernelPackages = lib.mkIf (lib.versionOlder linux.version "5.2") pkgs.linuxPackages_latest;
+}