nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
304 stars 101 forks source link

Refactored to HCL #76

Closed nickryand closed 2 years ago

nickryand commented 2 years ago

This is a complete refactor from JSON to HCL2 configuration. HCL2 was introduced to packer and it happens to also be a template. I have ported over all of the build configuration that was already in place.

The template generation scripts and iso_urls json files are no longer needed. This has been moved into a packer vars file.

I have tested this using the qemu builder and multiple architectures and versions of NixOS and it seems to work. If others can test the other builders, it may be worth doing that before merging if you think it's necessary.

zimbatm commented 2 years ago

sounds good, thanks!