-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rsync command not found with 23.11 nixos image #260
Comments
We should probably start making our own ISOs that have all needed tools. |
Is there a workaround, besides using the 23.05 image? Something like this before the nixos-everywhere call works:
|
Another work around is building your own installer. nixos-generators works well for that. |
maybe we can do a fallback with nix-shell? or even nix-env? |
Editing environment.systemPackages = with pkgs; [
rsync
]; |
hmm, but thats a lot of hassle. Maybe we should just port the rsync code to scp? |
#295 is the PR for that, not tested yet |
We also create a new nixos-anywhere optimized installer image that has rsync installed and enables sshd by default: https://github.com/nix-community/nixos-images?tab=readme-ov-file#iso-installer-images |
I saw this a few days ago and could not for the life of me figure out where the ISOs are actually hosted. I'm new to nix and figure I must misunderstand how it works. EDIT: Found it. I mistook the assets for releases. |
nixos-anywhere fails at copy extra file step using as installation target a machine booted with nixos 23.11 minimal iso image:
https://channels.nixos.org/nixos-23.11/latest-nixos-minimal-x86_64-linux.iso
nixos-anywhere command:
nix run github:numtide/nixos-anywhere -- --extra-files "$temp" --flake .#server02 root@$192.168.178.191
This is the error:
Using the 23.05 image installation works without any issue.
The text was updated successfully, but these errors were encountered: