Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-infrastructure

node-infrastructure X

Cypherpunk's Zakura nodes on the Zcash network, as one NixOS flake.

Status: nodes.cypherpunk-fleet.workers.dev

File What it is
hosts.nix The nodes: address, disk, storage mode, update hour.
node.nix What every node runs: Zakura from zcash.nix, SSH, heartbeat, updates.
disk.nix Disk layout.
dashboard/ The status page, a Cloudflare Worker fed by heartbeats each node signs.

Every hour a job bumps the flake's inputs, zcash.nix to its newest commit that passed CI, and lands the bump once every host builds. Nodes pull main at their hour in hosts.nix and switch to it; reverting a commit rolls them back.

Adding a node

  1. Add it to hosts.nix.

  2. Install NixOS over whatever Linux the provider gave it:

    $ nix run github:nix-community/nixos-anywhere -- --flake .#<name> --build-on remote --target-host root@<ip>
  3. Put its host key (ssh-keyscan -t ed25519 <ip>) in hosts.nix, then ./dashboard/deploy.sh.

About

Zcash node infrastructure.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages