Add boot.autostart and priority to all instances #51

Merged
AlexCaswen merged 7 commits from 53-boot-autostart into main 2026-05-10 03:46:52 +00:00
AlexCaswen commented 2026-05-10 03:45:52 +00:00 (Migrated from gitlab.com)

Changes

Profile

Add boot.autostart = true and boot.autostart.delay = 5 to the nixos-container profile. All containers inherit autostart behavior.

Per-instance priority

Container Priority Rationale
monitoring 100 First — observability ready before anything else starts
btc-node 90 Crypto nodes second — need to be syncing before workloads
eth-node 90 Crypto nodes second
sol 90 Crypto nodes second
trade 50 Workloads after infrastructure
dev 50 Development — lowest priority

Boot sequence after reboot

  1. monitoring starts (priority 100), 5s delay
  2. btc-node, eth-node, sol start (priority 90), 5s delay each
  3. trade, dev start (priority 50), 5s delay each

Prometheus and Loki are ready to capture the full startup sequence of every other container.

Closes #53

## Changes ### Profile Add `boot.autostart = true` and `boot.autostart.delay = 5` to the `nixos-container` profile. All containers inherit autostart behavior. ### Per-instance priority | Container | Priority | Rationale | |-----------|----------|----------| | monitoring | 100 | First — observability ready before anything else starts | | btc-node | 90 | Crypto nodes second — need to be syncing before workloads | | eth-node | 90 | Crypto nodes second | | sol | 90 | Crypto nodes second | | trade | 50 | Workloads after infrastructure | | dev | 50 | Development — lowest priority | ### Boot sequence after reboot 1. monitoring starts (priority 100), 5s delay 2. btc-node, eth-node, sol start (priority 90), 5s delay each 3. trade, dev start (priority 50), 5s delay each Prometheus and Loki are ready to capture the full startup sequence of every other container. Closes #53
AlexCaswen (Migrated from gitlab.com) approved these changes 2026-05-10 03:45:52 +00:00
AlexCaswen commented 2026-05-10 03:46:51 +00:00 (Migrated from gitlab.com)

approved this merge request

approved this merge request
AlexCaswen commented 2026-05-10 03:46:52 +00:00 (Migrated from gitlab.com)

mentioned in commit 03a0b6dc24

mentioned in commit 03a0b6dc245b60c6c354da77e366b040bc85e8b9
AlexCaswen (Migrated from gitlab.com) merged commit 03a0b6dc24 into main 2026-05-10 03:46:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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
midwitmoneymgmt/m3-infra!51
No description provided.