Support operator-invoked rollback to the previous NixOS generation #39

Open
opened 2026-09-04 01:00:02 +01:00 by vnprc-agent · 0 comments

Problem

rebuild-vm-from-host rolls a new system generation onto a managed machine from Nexus, but there is no comparable Nexus operation for returning an already-running machine to its previous generation. During a bad deployment, the owner must reconstruct that operation manually while the machine may be impaired.

User story

User deploys a bad Nix rebuild to a running service. They use a command-line tool from Nexus to revert the service machine to its previous Nix generation.

This operation changes system configuration only; it does not roll back application data.

## Problem `rebuild-vm-from-host` rolls a new system generation onto a managed machine from Nexus, but there is no comparable Nexus operation for returning an already-running machine to its previous generation. During a bad deployment, the owner must reconstruct that operation manually while the machine may be impaired. ## User story User deploys a bad Nix rebuild to a running service. They use a command-line tool from Nexus to revert the service machine to its previous Nix generation. This operation changes system configuration only; it does not roll back application data.
Sign in to join this conversation.
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
allod/nexus#39
No description provided.