Find a file
2014-08-11 18:38:13 +02:00
keys use custom nixpkgs and fix virtualbox 2014-02-01 20:04:09 +00:00
nixos setup for use with vagrant-nixos 2014-02-03 02:32:28 +00:00
scripts setup for use with vagrant-nixos 2014-02-03 02:32:28 +00:00
.gitignore Porting to packer 2013-07-22 12:09:04 +01:00
LICENSE Add MIT license 2013-11-27 21:55:42 +00:00
README.md setup for use with vagrant-nixos 2014-02-03 02:32:28 +00:00
shell.nix add nix shell file 2014-08-11 18:38:13 +02:00
template.json setup for use with vagrant-nixos 2014-02-03 02:32:28 +00:00

NixOS Image build scripts

NixOS is a linux distribution with a purely functional package manager.

These scripts build .box images that can be used by vagrant with the vagrant-nixos plugin for development, and other images suitable for production.

Building the images

First install packer and virtualbox

Then:

packer build template.json

The .box image is now ready to go. Install it into Vagrant via:

vagrant box add nixos-14.02-x86_64 nixos-14.02-x86_64-virtualbox.box

Using the images

Vagrant does not have a nixos guest plugin by default, so you'll need to install vagrant-nixos.

vagrant plugin install vagrant-nixos
vagrant init nixos-14.02-x86_64
vagrant up