From b4d9b4f8f26eee3dc3779ce63ee282dd95e94047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 6 Apr 2018 07:54:39 +0100 Subject: [PATCH] Update README.org --- README.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.org b/README.org index 358daaa..d4aa7e0 100644 --- a/README.org +++ b/README.org @@ -12,6 +12,17 @@ enable ThinkPad X220 profile, your ~imports~ in ~/etc/nixos/configuration.nix~ should look like: : imports = [ ./hardware-configuration.nix ]; + +Starting with nix 2.0 it is also possible to use `builtins.fetchGit` to fetch this repository: + + : imports = [ + : (builtins.fetchGit { + : url = "https://github.com/NixOS/nixos-hardware"; + : # revision here is optional, if not given, nix will fetch updates automatically + : rev = "a5fa2cc1ae6a1002962cf71fc23fbd533db412be"; + : } + "/lenovo/thinkpad/x250") + : ./hardware-configuration.nix + : ]; ** Profiles