1 { pkgs, lib, config, options
2 # NixOps extra module inputs
3 , nodes, name, uuid, resources
5 let inherit (config) networking; in
8 [ staging/shorewall.nix
11 services.nsd.interfaces = [ networking.privateIPv4 ];
13 deployment = /*lib.mkIf (builtins.hasAttr "mermet" nodes)*/ {
14 targetEnv = "virtualbox";
15 virtualbox.headless = true;
16 virtualbox.memorySize = 1024;
18 virtualbox.disks.disk1.baseImage = ../../.cache/nixops/virtualbox/nixops.vmdk;
19 # NOTE: resize not yet supported.
20 #virtualbox.disks.disk1.size = 6024;
21 #storeKeysOnMachine = true;