on master help sign in
Fix code blocks in installation steps
commit0d31bc33dcd1f5c97f3448c0cf877e8573d4308b authorRyan Trinkle <ryan.trinkle@gmail.com> dateThu 4 Jan 2018, 11:45 (9 years ago) parent4577dfe
1 file changed+10−10
README.md+10−10
README.md+10−10
@@ -1,20 +1,20 @@
11## Installation
221. Set up nix caches
33 1. Add this to `/etc/nixos/configuration.nix`:
4− ```
5− nix.binaryCaches = [ "https://nixcache.reflex-frp.org" ];
6− nix.binaryCachePublicKeys = [ "ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=" ];
7− ```
4+ ```
5+ nix.binaryCaches = [ "https://nixcache.reflex-frp.org" ];
6+ nix.binaryCachePublicKeys = [ "ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=" ];
7+ ```
881. Get set up to access private repositories
99 1. [Get set up to connect to GitHub with SSH](https://help.github.com/articles/connecting-to-github-with-ssh/)
1010 1. [Create a GitHub personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
1111 1. Add this to `/etc/nixos/configuration.nix`:
12− ```
13− nix.envVars = {
14− NIX_GITHUB_PRIVATE_USERNAME = "your-github-username";
15− NIX_GITHUB_PRIVATE_PASSWORD = "your-github-personal-access-token";
16− };
17− ```
12+ ```
13+ nix.envVars = {
14+ NIX_GITHUB_PRIVATE_USERNAME = "your-github-username";
15+ NIX_GITHUB_PRIVATE_PASSWORD = "your-github-personal-access-token";
16+ };
17+ ```
1818 1. `nix-env -i hub`
1919 1. `hub clone obsidiansystems/obelisk`
2020 * NOTE: you must authenticate with hub at least once, because the `ob` command uses `hub` for authentication