diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-03-12 09:12:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 09:12:30 +0000 |
commit | 9f6d639110ace24914a7459e445a3e6322e49266 (patch) | |
tree | 87f0f22075f9bc95fd43b90b69df4623a738cb75 | |
parent | 62d7c2eddf7d7cf4bb0fd10da37970a4caaca9d3 (diff) | |
parent | 3d983701f9f6f247d272adb46d834bf591a47938 (diff) |
Merge pull request #149 from danderson/master
lenovo/thinkpad/t495: init from e495.
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lenovo/thinkpad/t495/default.nix | 11 |
2 files changed, 12 insertions, 0 deletions
@@ -59,6 +59,7 @@ See code for all available configurations. | Lenovo ThinkPad T470s | `<nixos-hardware/lenovo/thinkpad/t470s>` | | Lenovo ThinkPad T480s | `<nixos-hardware/lenovo/thinkpad/t480s>` | | Lenovo ThinkPad T490 | `<nixos-hardware/lenovo/thinkpad/t490>` | +| Lenovo ThinkPad T495 | `<nixos-hardware/lenovo/thinkpad/t495>` | | Lenovo ThinkPad X140e | `<nixos-hardware/lenovo/thinkpad/x140e>` | | Lenovo ThinkPad X220 | `<nixos-hardware/lenovo/thinkpad/x220>` | | Lenovo ThinkPad X230 | `<nixos-hardware/lenovo/thinkpad/x230>` | diff --git a/lenovo/thinkpad/t495/default.nix b/lenovo/thinkpad/t495/default.nix new file mode 100644 index 0000000..51ddb5c --- /dev/null +++ b/lenovo/thinkpad/t495/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 pkgs.linux.version "5.2") pkgs.linuxPackages_latest; +} |