Extract local deploy into a reusable operational command #110
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:electra
host:fleet
host:lyra
host:nova
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#110
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Move the implementation of local deployment out of the Just recipe and expose it as a reusable, explicitly packaged command.
Scope
deployimplementation: host/specialisation selection, build output handling, NVD comparison, sudo keepalive, activation, and cleanup.nixos-deploythrough the flake's package/app surface.just deployas a thin compatibility wrapper initially.dgpuonly when the expansion bay is installed,igpuwhen it is absent.Non-goals
deploy-remote; it is deliberately a Just workflow that stages the working tree with rsync and invokes deployment remotely.test; it remains a workflow around temporary activation.Acceptance criteria
nixos-deploysupports the current local deployment modes and specialisation arguments.just deploydelegates to the packaged command without duplicating the implementation.nixos-deploy,just deploy, andjust deploy-remote.Closing as complete:
packages/nixos-deploy/default.nixprovides the reusable command;just deploydelegates to it; the README documents the intended command choice; and both focused regression checks pass (tests/nixos-deploy-regressions.shandtests/nixos-deploy-wrapper-regressions.sh).