Commit Graph

12 Commits

Author SHA1 Message Date
phaer
85c198f7c0 iso: squashfsCompression defaults to zstd upstream
zstd -Xcompression-level 19
2024-11-11 17:00:01 +01:00
phaer
a11970c782 install-iso-hyperv: inherit from install-iso.nix 2024-11-11 17:00:01 +01:00
Jörg Thalheim
bb76f39145 iso: default to zstd compression
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.
2024-05-19 13:50:34 +02:00
lassulus
af3d3a7538 rename filename to fileExtension 2023-07-22 16:20:50 +02:00
lassulus
efb2d33d4f formats *: set filename to the fileending 2023-07-21 14:58:38 +02:00
DavHau
fb30cf1cbe reformat all files 2023-05-30 10:21:34 +02:00
lassulus
859c5d584c formats install-iso: remove isoName 2023-05-30 10:16:52 +02:00
Antonio Yang
7e391962ce set "nixos.iso" as default name for iso image 2023-05-30 15:35:56 +08:00
Antonio Yang
62bb13bb6c add isoName option 2023-05-29 11:10:57 +08:00
lassulus
d72adc1a0a add filename option 2020-05-22 21:14:01 +02:00
zimbatm
0cce7924f1 Cleanup (#17)
* 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
2019-01-31 23:06:29 +01:00
zimbatm
93e10d0aea central command (#8)
* 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
2019-01-17 15:18:00 +01:00