Skip to content

feat: first iteration of nixos updates#36

Draft
steveej wants to merge 4 commits intodevelopfrom
nixos-updates
Draft

feat: first iteration of nixos updates#36
steveej wants to merge 4 commits intodevelopfrom
nixos-updates

Conversation

@steveej
Copy link
Collaborator

@steveej steveej commented Dec 4, 2025

This adds a very simplistic nixos update procedure across the coordinator, agent, and admin components. The implementation extends the current enrollment service, client, and admin counterparts. I consider this a Proof of Concept that I'd like to land before extracting a pattern and separate module for this kind of update flow.

Remaining for this PR:

  • nixos vm tests
  • out-of-process switch mechanism on the agent that survives updating the agent itself

Maybe in this PR:

  • More granular -- per store path -- closure transmission
  • report status and logs back to the coordinator
  • make status and logs available to the admin

@steveej steveej marked this pull request as draft December 4, 2025 11:33
the persistence-dir could potentially hold a lot of data as it stores
nixos closures.

this way have to choose where to store the data and are not
surprised by an implicit default later on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant