Skip to content

Instantly share code, notes, and snippets.

@thedavidmeister
Created August 18, 2019 11:28
Show Gist options
  • Save thedavidmeister/30ff7b8bdc47f54fe56b3ca17999ac4c to your computer and use it in GitHub Desktop.
Save thedavidmeister/30ff7b8bdc47f54fe56b3ca17999ac4c to your computer and use it in GitHub Desktop.
minimal holonix vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "holochain-vagrant"
config.vm.box_url = "https://holochain.love/box"
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = "4096"
vb.cpus = "4"
vb.customize ["modifyvm", :id, "--hwvirtex", "off"]
end
config.vm.provision :nixos,
run: 'always',
expression: {
swapDevices: [ { device: "/swapfile", size: 16384 } ],
environment: {
systemPackages: [
# sometimes windows can mess with line endings
# dos2unix can fix that inside the box
# mostly a debugging tool, ultimately the correct line endings need to
# be committed
:dos2unix,
]
}
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment