packer-nixos/README.md
2013-11-27 22:04:36 +00:00

919 B

NixOS boxes for Vagrant

NixOS is a linux distribution based on a purely functional package manager. This project builds .box images that can be used by vagrant, the VM manager.

Status

stable

Install

vagrant box add nixbox32 http://zimbatm.s3.amazonaws.com/nixbox/nixos32-virtualbox.box
vagrant init nixbox32
# or
vagrant box add nixbox64 http://zimbatm.s3.amazonaws.com/nixbox/nixos64-virtualbox.box
vagrant init nixbox64

Building the images

First install packer and virtualbox

Then:

packer build nixbox32-template.json
# or
packer build nixbox64-template.json

The .box image is now ready to go and you can use it in vagrant:

vagrant box add nixbox32 nixbox32-virtualbox.box
# or
vagrant box add nixbox64-nixbox64-virtualbox.box