-
NixOps 4. Beyond the Fediversity project: Nix co-maintainer, Hercules CI
- Joined on
2024-03-01
So the goal here is to declare an age-encrypted secret as an input to other resources, decrypting it with the ops person's ambiently provided credentials (e.g. ~/.ssh
), and something similar for…
A resource provider for NixOps4 is an executable that communicates between a resource and NixOps4 using a standardised protocol, allowing CRUD operations on the resources to be performed by NixOps4.
The software includes technical configuration that links software components.
A resource for NixOps4 is any external entity that can be declared with NixOps4 expressions and manipulated with NixOps4, such as a virtual machine, an active NixOS configuration, a DNS entry, or customer database.
I've set up https://nixops4.cachix.org, written to by a Hercules CI agent that I run for the https://github.com/nixops4 org.
It's not a particularly long build, so I haven't bothered documenting…
- Revert last
nix flake update
that led to a broken state of nixops4 + nixops4-nixos.
What broke?
You may also specify the _class
module attribute, which documents and enforces the purpose of the module, and has potential to be a recognizable keyword for those who read the code. They are…
You can use the nixops4-nixos VM test as a reference. ([permalink](https://github.com/nixops4/nixops4-nixos/blob/65f…
Naming convention is lowerCamelCase, or snake-case for packages, so I feel like x-fediversity
is a bit more natural.
concatMapAttrs f . filterAttrs g
is equivalent to concatMapAttrs (k: v: optionalAttrs (g k v) (f k v))
.