Split incus.tf into per-resource files and add nixos-container profile #48
No reviewers
Labels
No labels
IaC
admin
agent-containers
automation
blockchain
cleanup
data
documentation
hardware
hotfix
infrastructure
maintenance
metrics
ml
monitoring
networking
resilience
security
tailscale
trading
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midwitmoneymgmt/m3-infra!48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "49-profile-and-file-split"
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?
Changes
File split
Break the monolithic
incus.tfinto self-describing files:server.tf— Incus server observability confignetwork.tf— incusbr0 bridgenixos-image.tf— pinned NixOS/unstable imagestorage.tf— shared local pool (IncusOS-managed)profiles.tf— nixos-container profilebtc-node.tf— Bitcoin Core (pool + volume + instance)eth-node.tf— Erigon (pool + volume + instance)dev.tf— Development (volume + instance, uses trade pool)trade.tf— Trading engine (pool + volume + instance)monitoring.tf— Monitoring stack (pool + volume + instance)sol.tf— Solana (pool only, container pending)Profile
New
incus_profile.nixos_containerwithsecurity.nesting = false. Thedefaultprofile (IncusOS-managed) already provides root disk onlocalpool and eth0 NIC onincusbr0.Containers now use
profiles = ["default", "nixos-container"]and only declare unique devices: data volume mount + eth0 IP override. Root disk and base NIC come from the default profile.What the plan should show
incus_profile.nixos_containerCloses #49
added 1 commit
d7f2ee1d- Edit dev.tf to trigger validateCompare with previous version
assigned to @AlexCaswen
approved this merge request
mentioned in commit
f2e4195fda