-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Packer with Nix #96
Comments
Sorry late replay. I think this is good for user with nix, maybe could combine together. Sometimes users can select Packer and Nix to build in other systems. |
Ok. Is this something you're interested in pursuing? Probably, it wouldn't make sense to have both Packer and Nix recipes as it would duplicate all of the work. |
Maybe the packer cloud stay in code, and new part using nix. I think some people may use the packer, and old code should help it. Dose using ci with nix to build image? |
Up to you. They can also pull the latest image and then use Vagrant + Nix to build new custom images. Yes, we can have GitHub Actions build the images with Nix. Not sure about publishing on vagrantcloud, this part might have to be reverse-engineered. |
Maybe we can use new branch to check it |
Also it would allow to have nixos without |
This is just an idea. The main downside would be that the user needs to have Nix installed, but Nix builds are generally faster, and don't require the virtualization framework to build the images. That means it would be easier to target VMWare, HyperV, VirtualBox, ...
I have a prototype somewhere in this repo I think. And also pushed this to nixpkgs a while back:
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/vagrant-guest.nix and https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/vagrant-virtualbox-image.nix
If you're interested of me going more in details @ifurther , let me know.
The text was updated successfully, but these errors were encountered: