ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
Rust 72.2%
Nix 24.4%
TypeScript 2.9%
Python 0.2%
Shell 0.2%
Just 0.1%
CSS 0.1%
Other 0.1%
692 6 11

Clone this repository

https://tangled.org/althaea.zone/wire
git@tangled.org:althaea.zone/wire

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Rust Tests Status BuildBot Build & VM Test Status Documentation Status

wire is a tool to deploy nixos systems. its usage is inspired by colmena however it is not a fork.

Read the The Tutorial, Guides, or continue reading this readme for development information.

Tree Layout#

wire
├── wire
│  ├── lib
│  │  └── Rust library containing business logic, consumed by `wire`
│  ├── cli
│  │  └── Rust binary, using `lib`
│  └── key_agent
│     └── Rust binary ran on a target node. receives key file bytes and metadata w/ protobuf over SSH stdin
├── doc
│  └── a [vitepress](https://vitepress.dev/) site
├── runtime
│  └── Nix files used during runtime to evaluate nodes
├── bench
│  └── A little tool to benchmark wire against a large hive
└──tests
   └── Directories used during cargo & NixOS VM testing

Development#

Please use nix develop for access to the development environment and to ensure your changes are ran against the defined git hooks. For simplicity, you may wish to use direnv.

Testing#

dhat profiling#

$ just build-dhat

Testing#

$ cargo test
$ nix flake check