silky / nixops4

Deploy with Nix and manage resources declaratively

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NixOps4

This project is intended to replace and improve on NixOps 2. It fixes a number of structural issues through a rewrite from first principles.

Status: in development

Goals

  • Support stateless and stateful deployments.
  • Fix the NixOps resource syntax.
  • Provide a stable interface for defining resources, so that resource developers have a well-defined task, and minimal maintenance afterwards.
  • Deployment projects provide can choose or provide their own resource implementations.
  • Sustainable development, by reusing existing technologies such as the module system and OpenTofu.
  • Maintainable code base in Rust.

Hacking

The following will open a shell with dependencies, and install pre-commit for automatic formatting.

$ nix develop

VSCode

rust-analyzer

If the rust-analyzer extension fails, make sure the devShell was loaded into VSCode via Nix Env Selector or direnv.

Credits

Thank you to the NixOps 1 / 2 authors and maintainers, for exploring the domain, and for their efforts to maintain and improve it.

Another special thanks goes to the Fediversity project, for their support to push NixOps over the bump that is NixOps4, and for their commitment to give back to the Nix community.

About

Deploy with Nix and manage resources declaratively


Languages

Language:Rust 76.4%Language:Nix 22.9%Language:C 0.7%