Skip to content

Commit

Permalink
Update README.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Apr 6, 2018
1 parent a5fa2cc commit b4d9b4f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ enable ThinkPad X220 profile, your ~imports~ in ~/etc/nixos/configuration.nix~
should look like:

: 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:

This comment has been minimized.

Copy link
@Mic92

Mic92 Apr 6, 2018

Author Member

Oh actually I wanted to make this a pull request, but the save button automatically committed this to master.
What is the org-mode equivalent for `?


: 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

Expand Down

0 comments on commit b4d9b4f

Please sign in to comment.