nixos-exporter: enable NATS cache sharing #38

Merged
torjus merged 1 commits from nixos-exporter-nats-cache into master 2026-02-08 22:58:24 +00:00
Owner

When one host fetches the latest flake revision, it publishes to NATS
and all other hosts receive the update immediately. This reduces
redundant nix flake metadata calls across the fleet.

  • Add nkeys to devshell for key generation
  • Add nixos-exporter user to NATS HOMELAB account
  • Add Vault secret for NKey storage
  • Configure all hosts to use NATS for revision sharing
  • Update nixos-exporter input to version with NATS support

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

When one host fetches the latest flake revision, it publishes to NATS and all other hosts receive the update immediately. This reduces redundant nix flake metadata calls across the fleet. - Add nkeys to devshell for key generation - Add nixos-exporter user to NATS HOMELAB account - Add Vault secret for NKey storage - Configure all hosts to use NATS for revision sharing - Update nixos-exporter input to version with NATS support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
torjus added 1 commit 2026-02-08 22:58:20 +00:00
nixos-exporter: enable NATS cache sharing
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m17s
Run nix flake check / flake-check (push) Failing after 5m16s
60c04a2052
When one host fetches the latest flake revision, it publishes to NATS
and all other hosts receive the update immediately. This reduces
redundant nix flake metadata calls across the fleet.

- Add nkeys to devshell for key generation
- Add nixos-exporter user to NATS HOMELAB account
- Add Vault secret for NKey storage
- Configure all hosts to use NATS for revision sharing
- Update nixos-exporter input to version with NATS support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
torjus merged commit fec2a261ab into master 2026-02-08 22:58:24 +00:00
torjus deleted branch nixos-exporter-nats-cache 2026-02-08 22:58:24 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos-servers#38