Flake-parts module that repos import to declare hosts, jobs, and secrets. Nushell CLI (rigging) aggregates multiple repos and provides unified management: host deploy/build, job run/plan/stop, secret list/rekey. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
412 B
Nix
20 lines
412 B
Nix
{
|
|
description = "Rigging — multi-repo NixOS + Nomad infrastructure management";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
flake-parts,
|
|
...
|
|
}: {
|
|
flakeModules.default = ./flake-module.nix;
|
|
flakeModules.rigging = ./flake-module.nix;
|
|
|
|
lib = import ./lib;
|
|
};
|
|
}
|