Simplify local grid hardware
As preparation for #87 (closed), I wanted to simplify the existing vagrant-related nix configuration.
The main changes are:
- Move the the configuration from
hardware-virtual.nix
tohardware-vagrant.nix
. - Remove the
vagrant-guest.nix
in favour of the upstream one. I'm guess the one we have was originally based on code from here, which is where are vagrant images are built from. The differences this seems to make are:- Details of
sudoers
file, most of which are duplicates, and the rest are some details of what environment variables can be passed.. -
jq
andgnumake
are not on the system path. -
vagrant
user is in groupusers
instead ofvagrant
.
- Details of
- Make
publicIPv4
a NixOS option, rather than an argument.