1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 18:43:34 +02:00

Fix fetchGit instructions

This commit is contained in:
Javier Candeira 2020-10-13 22:55:46 +11:00
parent 7234b11dff
commit d43b95a86e

View File

@ -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: You can fetch the git repository directly:
```nix ```nix
imports = [ 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"
]; ];
``` ```