nix-community/nixos-anywhere

The `--extra-files <file...>` command is unintuitive

Opened this issue · 3 comments

Hello,

I just wanted to point out that the --extra-files <file...> command is a bit unintuitive, I had to look it up on Github. A better way would be --extra-files <file> <dest>.

To anyone who is looking at this, #316 (or #325) has been merged and provides a solution to the problem.

@Prince213 Unless I'm missing something, it's still counter-intuitive because you don't get to specify the source and destination, as described in the initial report.

@Prince213 Unless I'm missing something, it's still counter-intuitive because you don't get to specify the source and destination, as described in the initial report.

It's not an exact solution. Instead, the entire path will be copied to the destination, so you can just create the directory structure and put files there. Maybe we can add another option for individual files.