Created
August 18, 2019 11:28
-
-
Save thedavidmeister/30ff7b8bdc47f54fe56b3ca17999ac4c to your computer and use it in GitHub Desktop.
minimal holonix vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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