Parameterize remote deployment repository path #126
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
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:nix-idioms-hygiene
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:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#126
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
Make the packaged
nixos-deploy --host <hostname>workflow usable when the remote checkout is not/home/nimmo/nixos-config.Context
PR #125 introduced the reusable
nixos-deploycommand and preserved the existing remote delegation behavior. The delegation currently runs:That path matches the current fleet convention but is an implicit environment assumption.
Scope
NIXOS_DEPLOY_REMOTE_REPOfor the remote checkout path./home/nimmo/nixos-configas the compatibility default.Acceptance criteria
nix flake checkpass.Follow-up to PR #125.
Closing as superseded by the merged deployment workflow replacement, not as an implementation of NIXOS_DEPLOY_REMOTE_REPO.
Commit
e3fc4a6465removed nixos-deploy's --host delegation and the hard-coded remotecd /home/nimmo/nixos-configcommand. The packaged nixos-deploy is now a local deployment command. MR #248 subsequently introduced the current explicit-target controller snapshot/build/copy/activate workflow in scripts/nixos-remote-deploy.sh, documented as just test-remote in README.That workflow derives the controller repository root via git and transfers the built closure to the target; it does not need a repository checkout at any path on the target. Therefore the mechanism this issue proposed parameterising no longer exists. This does not claim the removed --host API was preserved.