nixos-generators icon indicating copy to clipboard operation
nixos-generators copied to clipboard

-f raw, directly to device

Open madorian opened this issue 2 years ago • 2 comments

Is it possible to write this directly to a device?;)

That way I don't have to dd it afterwards.

madorian avatar May 18 '23 11:05 madorian

Did you end up figuring out how to do this?

djrmarques avatar Mar 15 '24 15:03 djrmarques

The nix build process usually runs in a sandbox. In that sandbox there won't be a device available. Maybe something like the recently created disko_ install https://github.com/nix-community/disko/blob/master/docs/disko-install.md would be better suited for that usecase?

Lassulus avatar Mar 15 '24 23:03 Lassulus