Skip to content

feat(ssh): support ssh-ng hosts when copying closures#223

Draft
water-sucks wants to merge 1 commit intonix-community:mainfrom
water-sucks:support-ssh-ng
Draft

feat(ssh): support ssh-ng hosts when copying closures#223
water-sucks wants to merge 1 commit intonix-community:mainfrom
water-sucks:support-ssh-ng

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

@water-sucks water-sucks commented Apr 15, 2026

This PR adds support for Nix's ssh-ng protocol when copying closures to/from hosts in nixos apply.

--build-host/--target-host can now prefix their host arguments with ssh-ng:// by using ssh-ng://user@host:port.

Closes #222.

Currently, there is a problem when passing these store arguments to nix-copy-closure and nix copy: NixOS/nix#14685. This PR will be left in draft mode until a resolution can be found for this.

@water-sucks water-sucks requested a review from Sporif April 15, 2026 23:09
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.

apply: support ssh-ng:// hosts

1 participant