Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc authored May 22, 2019
1 parent 2ffb0ef commit e187cb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testnets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ Node configurations for [NixOS](https://nixos.org) are provided in this reposito
The steps for setting this up on a running NixOS machine are roughly as follows:
1. Clone the git repository into a local folder on the machine
2. Import `module.nix` in `/etc/nixos/configuration`:
```nix
```
imports =
[
./hardware-configuration.nix
/path-to-my-git-repo/module.nix
];
```
3. Enable the `xrn` programs in `/etc/nixos/configuration` and run `nixos-rebuild switch):
```nix
```
programs.xrn.enable = true;
```
4. Run `xrncli init --home /var/xrnd`
5. Configure node configuration in `/var/xrnd/config` (`genesis.json`, `config.toml`, etc.)
6. Enable the xrnd service in `/etc/nixos/configuration` and run `nixos-rebuild switch`
```nix
```
services.xrnd.enable = true;
services.xrnd.moniker = "my-node-moniker";
```
```

0 comments on commit e187cb4

Please sign in to comment.