Newer
Older
{ config, lib, modulesPath, ... }:
{
# These options are used by ./hardware-vagrant.nix and ./hardware-qemu.nix
options.grid = {
publicIPv4 = lib.mkOption {
type = lib.types.str;
description = ''
The primary IPv4 address of the virtual machine.
'';
};
virtualisation = lib.mkOption {
type = lib.types.enum ["vagrant" "qemu"];
description = ''
The type of virtualisation to use for the local grid.
'';
};
};
}