feat(vega): docker-report (Trilium) sync + atticd alerts #231
No reviewers
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:electra
host:fleet
host:lyra
host:nova
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config!231
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/vega-docker-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gives vega the same service coverage lyra already has.
Changes
modules/services/docker-report.nixon vega — its non-declarative/srv/stacksnow document under the shared Trilium tree (option a: shared ETAPI token + parent note + stacks dir).secrets/docker-report.yaml; the.sops.yamlcreation rule for that secret is updated to include vega.atticdadded to the ntfy service-failure monitor on vega and lyra (atticd.nixdoesn't self-register like jellyfin/immich/tdarr do).Files
.sops.yaml,secrets/docker-report.yaml(re-encrypted to add vega),hosts/vega/default.nix,hosts/lyra/default.nix.Validation
nix flake check— all 6 hostssecrets/docker-report.yaml(canonical.sops.yamlkey)/srv/services/docker-report, 14 files,nimmo:users 755)sudo nixos-rebuild test --flake .#vega(secret decrypts on vega; service + timer active)Notes
# TRILIUM METADATAinjected into vega's/srv/stacks/*.yml). Vega is pull-only frommain, so this goes live on vega via auto-update once merged.Closes #230
Automated code review
Reviewed commit:
765f6cb329e9ba5701c11ee7931d178f5471aeb9Verdict: Ready to merge
No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.
Overall assessment
The PR adds the
docker-reportservice to vega and includesatticdin the service failure monitor on both vega and lyra. It also updates SOPS configuration to allow vega to decrypt the shareddocker-report.yamlsecret.Blocking findings
None.
Important findings
None.
Suggestions
The diff shows
*vegaadded before*lyra. The existing order waslyra,yubikey-nano5c, etc. Other secrets might have different orders.Impact: While functionally equivalent for decryption, inconsistent ordering of SOPS recipients can make diffs noisier and harder to review in the future. It may also imply a priority or ownership hierarchy that isn't intended.
Suggested fix: Consider if
vegashould be placed afterlyrato maintain alphabetical or logical consistency with other secrets, or if the current order is intentional. Ensure this pattern is documented or consistent across.sops.yaml.Tests and validation
Questions
.sops.yamlintentional, or should it be standardized across all secrets?Review limitations
nix flake checkornixos-rebuild testto verify the configuration.secrets/docker-report.yamlbeyond the SOPS metadata.Diff coverage
.sops.yaml: reviewed — included in a context-limited batchhosts/lyra/default.nix: reviewed — included in a context-limited batchhosts/vega/default.nix: reviewed — included in a context-limited batchsecrets/docker-report.yaml: reviewed — included in a context-limited batchReview metadata