-
-
Notifications
You must be signed in to change notification settings - Fork 289
Description
When i am running disko-install like:
sudo nix run 'github:nix-community/disko/latest#disko-install' -- --flake <flake-url>#<flake-attr> --disk <disk-name> <disk-device>
as described in the documentation, what is the reason for, the entire system being built before the hard drive or device is formatted? The issue arises when I use a USB stick or an installer to install NixOS without using nixos-everywhere. This causes an "out of space" error because disko-install tries to build everything configured in my flakes, including all packages, and then writes them to the specified disk.
What is the logic behind this approach? My understanding would be that the target drive should first be formatted, and then NixOS should be installed directly onto it.
Or do i misunderstood the using7usecase of nixos-install?