For most users of nixos-generate zstd will be the better choice as
it will build and boot images much faster. Often users have to rebuild
images a couple of times before they are happy with the result.
NixOS might be better of with xz as it saves download and storage cost
for images.
* rename eval-format.nix to nixos-generate.nix
Make it clear that it's meant to be used by the nixos-generate script
* rename config.nix to configuration.nix
Bring the name closer to /etc/nixos/configuration.nix
* fix the NIXOS_CONFIG
this is the env name that nixos-rebuild uses
* use -I to load the configuration and format
This has a nice side-effect of allowing URLs as configuration
* add Travis CI
* cleanSource
* gitignore nix result files
* use modulesPath everywhere
this makes sure that the passed pkgs in nixos-generate.nix is the same
one we use to load these other modules
* use toString to avoid evaluation error
* WIP: eval target
* rename nixos-build to nixos-generate
* rename target to format
* allow to pass arbitrary format paths
* add --help option
* add --list option
* port the rest of the formats
* add short options
* be more precise with the file selection
* use new trick I learned
* support the --run option
for the no-gui version:
./nixos-generate --run -f vm-no-gui
* document
* fixup! port the rest of the formats
* fix kexec-bundle