Skip to content
NixOS Vagrant boxes [maintainer=@zimbatm]
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts Remove specific vboxsf group from the common configuration. (#41) Jan 14, 2019
Makefile Update Dec 12, 2018
gen_template.rb Add vmware builder to gen_template Jan 14, 2019
iso_urls_update.rb iso_urls_update.rb: remove unused code Oct 20, 2018
nixos-i686.json Regenerate nixos-xxx.json with make Mar 21, 2019

NixOS boxes for Vagrant

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




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

Also have a look at the accompanying nixos vagrant plugin:

Building the images

First install packer and virtualbox.

Two packer builders are currently supported:

  • Virtualbox
  • qemu / libvirt

To build Virtualbox vagrant images:

packer build --only=virtualbox-iso nixos-i686.json
# or
packer build --only=virtualbox-iso nixos-x86_64.json


To build qemu / libvirt vagrant images:

packer build --only=qemu nixos-i686.json
# or
packer build --only=qemu nixos-x86_64.json

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

vagrant box add nixbox32
# or
vagrant box add nixbox64

Updating the ISO urls

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


Copyright 2015 under the MIT

You can’t perform that action at this time.