/nixbox

NixOS Vagrant boxes

Primary LanguageNixMIT LicenseMIT

NixOS boxes for Vagrant

NixOS is a linux distribution based on a purely functional package manager. This project builds vagrant .box images.

Status

stable

Usage

vagrant init nixos/nixos-18.03-i686
# or
vagrant init nixos/nixos-18.03-x86_64

Also have a look at the accompanying nixos vagrant plugin: https://github.com/nix-community/vagrant-nixos-plugin

Building the images

First install packer and virtualbox

Then:

packer build nixos-i686.json
# or
packer build nixos-x86_64.json

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

vagrant box add nixbox32 packer_virtualbox-iso_virtualbox.box
# or
vagrant box add nixbox64 packer_virtualbox-iso_virtualbox.box

Updating the ISO urls

To update the ISO urls to the latest release run: make update_iso update_template

License

Copyright 2015 under the MIT