Code Monkey home page Code Monkey logo

nixbox's Introduction

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.09-i686
# or
vagrant init nixos/nixos-18.09-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.

Three packer builders are currently supported:

  • Virtualbox
  • qemu / libvirt
  • VMware
  • Hyper-V

Have a look at the different make build target to build your image.

If you build on a host that does not support Makefile, here are some examples:

packer build --only=virtualbox-iso nixos-i686.json
packer build --only=qemu nixos-x86_64.json
packer build --only=vmware-iso nixos-x86_64.json
packer build --only=hyperv-iso nixos-x86_64.json

The vagrant .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

Troubleshooting

If you build on a Windows OS, please make sure you keep the unix file encoding of the generated configuration files (see issue #30

License

Copyright 2015 under the MIT

nixbox's People

Contributors

cambid avatar cdituri avatar dasj avatar davejagoda avatar dysinger avatar ethnt avatar keblek avatar mic92 avatar pierrer avatar pradermecker avatar stefandeml avatar supersandro2000 avatar tboerger avatar zimbatm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.