Derive secrets checks from inventory platforms #1

Merged
vnprc merged 2 commits from agent/derive-platform-checks into master 2026-06-27 17:45:08 +01:00
Member

Summary

  • Add the public inventory flake as the source for supported check platforms.
  • Generate credential-inventory checks from inventory.lib.supportedPlatforms instead of a local platform literal.

Refs allod/strategy#5

Validation

  • nix flake show --json 2>/tmp/secrets-show.err | jq -e '.checks | keys | length > 0'
  • for check_system in $(nix flake show --json 2>/tmp/secrets-show.err | jq -r '.checks | keys[]'); do nix flake show --json 2>/tmp/secrets-show.err | jq -e --arg system "$check_system" '.checks[$system] | has("credential-inventory")'; nix build ".#checks.${check_system}.credential-inventory"; done
  • nix flake check
## Summary - Add the public inventory flake as the source for supported check platforms. - Generate `credential-inventory` checks from `inventory.lib.supportedPlatforms` instead of a local platform literal. Refs allod/strategy#5 ## Validation - `nix flake show --json 2>/tmp/secrets-show.err | jq -e '.checks | keys | length > 0'` - `for check_system in $(nix flake show --json 2>/tmp/secrets-show.err | jq -r '.checks | keys[]'); do nix flake show --json 2>/tmp/secrets-show.err | jq -e --arg system "$check_system" '.checks[$system] | has("credential-inventory")'; nix build ".#checks.${check_system}.credential-inventory"; done` - `nix flake check`
Author
Member

Follow-up from local review: remove the indentation-only churn from flake.nix so the PR diff shows only the platform-derivation and inventory input changes.

Follow-up from local review: remove the indentation-only churn from flake.nix so the PR diff shows only the platform-derivation and inventory input changes.
vnprc approved these changes 2026-06-27 17:44:52 +01:00
vnprc force-pushed agent/derive-platform-checks from debb5238d6 to 0f2a388262 2026-06-27 17:45:00 +01:00 Compare
vnprc merged commit 0f2a388262 into master 2026-06-27 17:45:08 +01:00
vnprc deleted branch agent/derive-platform-checks 2026-06-27 17:45:08 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
allod/secrets!1
No description provided.