bd init: initialize beads issue tracking

This commit is contained in:
2026-08-17 09:39:41 +02:00
parent 4a24558981
commit 09e70769b1
22 changed files with 783 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
config,
lib,
...
}: let
cfg = config.az.tc;
in {
imports = [./staging.nix ./production.nix];
options.az.tc.site = lib.mkOption {
type = lib.types.enum ["staging" "production"];
default = "staging";
description = "Site profile providing fleet-wide infrastructure defaults.";
};
config.assertions = lib.optional cfg.enable {
assertion = builtins.elem cfg.site ["staging" "production"];
message = "az.tc.site must be staging or production.";
};
}