mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Update README.org
This commit is contained in:
parent
a5fa2cc1ae
commit
b4d9b4f8f2
1 changed files with 11 additions and 0 deletions
11
README.org
11
README.org
|
@ -13,6 +13,17 @@ should look like:
|
||||||
|
|
||||||
: imports = [ <nixos-hardware/lenovo/thinkpad/x220> ./hardware-configuration.nix ];
|
: imports = [ <nixos-hardware/lenovo/thinkpad/x220> ./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
|
** Profiles
|
||||||
|
|
||||||
|---------------------------+--------------------------------------------|
|
|---------------------------+--------------------------------------------|
|
||||||
|
|
Loading…
Reference in a new issue