Radish alpha
r
rad:z254T5p17bdFPmzfDojsdjo4HjpoZ
Radicle Infrastructure as Code (NixOS, OpenTofu, …)
Radicle
Git
chore: add README
Merged fintohaps opened 11 months ago

Add a README to document the deployment to seed.radicle.xyz

1 file changed +28 -0 fe62c252 1ffc76bd
added README.md
@@ -0,0 +1,28 @@
+
# radicle-infra
+

+
Easing the deployment of Radicle seed nodes with the magic of Nix 🌱 ➕ ❄️
+

+
## Deployment
+

+
Using `radicle-nix` (`rad:zTGn5tnYJgF8qd6KDuodURvUvwLe`) we can easily deploy
+
seed nodes to target hosts.
+

+
To update the version of `radicle-node` package, changes are made in
+
`radicle-nix`. To reflect those changes in `radicle-infra`, the following
+
variable should be changed in `os/host/xyz/seed/radicle.nix`:
+

+
```nix
+
  services.radicle = {
+
    ...
+
    package = pkgs.radicle-node-1_2;
+
    ...
+
  }
+
```
+

+
Then to deploy to the target, for example `seed.radicle.xyz`, use the following
+
command with your `user` – note that you may have to get permission to be added as
+
a user first:
+

+
```
+
nixos-rebuild switch --target-host <user>@seed.radicle.xyz --build-host <user>@seed.radicle.xyz --use-remote-sudo --flake .#seed.radicle.xyz
+
```