From 7234b11dfff346902c6a4c2ca4fd0d256c7737ad Mon Sep 17 00:00:00 2001 From: Javier Candeira Date: Tue, 13 Oct 2020 22:12:23 +1100 Subject: [PATCH 1/2] Thinkpad x220 has Sandy Bridge CPU --- lenovo/thinkpad/x220/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenovo/thinkpad/x220/default.nix b/lenovo/thinkpad/x220/default.nix index 3cf18e3..b28e278 100644 --- a/lenovo/thinkpad/x220/default.nix +++ b/lenovo/thinkpad/x220/default.nix @@ -3,7 +3,7 @@ { imports = [ ../. - ../../../common/cpu/intel + ../../../common/cpu/intel/sandy-bridge ../../../common/pc/laptop/hdd # TODO: reverse compat ../tp-smapi.nix ]; From d43b95a86e43915c8f96a8837fb5618473fc2f59 Mon Sep 17 00:00:00 2001 From: Javier Candeira Date: Tue, 13 Oct 2020 22:55:46 +1100 Subject: [PATCH 2/2] Fix fetchGit instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0cbfe4f..4a731df 100644 --- a/README.md +++ b/README.md @@ -48,13 +48,13 @@ There is also experimental flake support. In your `/etc/nixos/flake.nix` add the ``` -### Using fetchgit +### Using fetchGit You can fetch the git repository directly: ```nix imports = [ - "${builtins.fetchgit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/lenovo/thinkpad/x220" + "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/lenovo/thinkpad/x220" ]; ```