Move network*.nix files to new network directory
This commit is contained in:
parent
4d3f1560e2
commit
d65cb50f50
@ -44,7 +44,7 @@ The data directories of the services can be found in `/var/lib` on the deployed
|
|||||||
|
|
||||||
Installation
|
Installation
|
||||||
---
|
---
|
||||||
The easiest way is to run `nix-shell` (on a Linux machine) in the nix-bitcoin directory and then create a [NixOps](https://nixos.org/nixops/manual/) deployment with the provided network.nix.
|
The easiest way is to run `nix-shell` (on a Linux machine) in the nix-bitcoin directory and then create a [NixOps](https://nixos.org/nixops/manual/) deployment with the provided `network.nix` in the `network` directory.
|
||||||
Fix the FIXMEs in configuration.nix and deploy with nixops in nix-shell.
|
Fix the FIXMEs in configuration.nix and deploy with nixops in nix-shell.
|
||||||
See [install.md](docs/install.md) for a detailed tutorial.
|
See [install.md](docs/install.md) for a detailed tutorial.
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ The following steps are meant to be run on the machine you deploy from, not the
|
|||||||
3. Create nixops deployment in nix-shell.
|
3. Create nixops deployment in nix-shell.
|
||||||
|
|
||||||
```
|
```
|
||||||
nixops create network.nix network-vbox.nix -d bitcoin-node
|
nixops create network/network.nix network/network-vbox.nix -d bitcoin-node
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Adjust configuration by opening `configuration.nix` and removing FIXMEs. Enable/disable the modules you want in `configuration.nix`.
|
4. Adjust configuration by opening `configuration.nix` and removing FIXMEs. Enable/disable the modules you want in `configuration.nix`.
|
||||||
@ -280,7 +280,7 @@ On the machine you are deploying from:
|
|||||||
4. Create network file
|
4. Create network file
|
||||||
|
|
||||||
```
|
```
|
||||||
nano network-nixos.nix
|
nano network/network-nixos.nix
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -327,7 +327,7 @@ On the machine you are deploying from:
|
|||||||
|
|
||||||
9. Create nixops deployment in nix-shell.
|
9. Create nixops deployment in nix-shell.
|
||||||
```
|
```
|
||||||
nixops create network.nix network-nixos.nix -d bitcoin-node
|
nixops create network/network.nix network/network-nixos.nix -d bitcoin-node
|
||||||
```
|
```
|
||||||
|
|
||||||
10. Adjust configuration by opening `configuration.nix` and removing FIXMEs. Enable/disable the modules you want in `configuration.nix`.
|
10. Adjust configuration by opening `configuration.nix` and removing FIXMEs. Enable/disable the modules you want in `configuration.nix`.
|
||||||
|
Loading…
Reference in New Issue
Block a user